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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CONVERT TIME STRING FIELD

Status
Not open for further replies.

mamarockstar

Technical User
Aug 24, 2005
18
US
I have 2 report fields - start_time and end_time. Both of these fields are string fields. Right now they output the time like this: 09:00 AM. How can I change the format?

thanks
 
Hi,
Change it how?

Where do they come from and how are they defined it that source?



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
A formula field with Ctime({your.field) should turn it into an actual time. Then you can change the display by right-click on the formula field and 'Format Field'. Or else create a second Formula Field that displays the first using ToText, which has interesting options for date and time.

It helps to give your Crystal version - 8, 8.5, 9, 10, 11 or whatever. Methods sometimes change between versions, and higher versions have extra options.

Also please don't use block capitals, it counts as SHOUTING.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top