Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pick date from a text?

Status
Not open for further replies.

devnaren

Programmer
Aug 23, 2007
49
US
Hi All,

I'm using CRXI.

I have text which is coming from one field and i want to pick date from tht text.

for eg:

Date Entered: Since 01-Jan-2008 05:00 AM GMT; Records included

Above text from Date Entered to Records Included coming from one field.

Now i want to pick just date from tht text which will be
01-Jan-2008 05:00 AM

 
Extractstring({String.field},'Since ',' GMT')

This is dependant upon the text surrounding the date staying the same and always being GMT timezone, if this is not the case then let me know and I can advise of other methods.

'J

CR8.5 / CRXI - Discovering the impossible
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top