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

Date Format function in Crystal ?

Status
Not open for further replies.

hanglam

Programmer
Dec 11, 2002
143
US
Hi,

Is there a Format function in Crystal that will allow me to format a datetime value ?
For example in Visual Basic, I used to do
Format("value", "M/dd/yyyy hh:mm tt")

Thanks,
 
Take a look at the Totext function:

ToText({table.datefield}, "M/dd/yyyy hh:mm tt")


~Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top