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

formatting date in Crystal Report formula

Status
Not open for further replies.

Flupke

Programmer
Jun 26, 2002
94
BE
How can I format a date in a Crystal Report formula, like I would do in the Visual Basic expression
Format(date, "dd/mm/yyyy").
This doesn't seem to work in CR. What is the alternative using Crystal syntax and the alternative using Basic syntax?

Many thanks,

Michel
 
Just right click the date and select Format Field->Date/time->Customize->Date or Time and set it however you'd like.

You can convert it to text and format it too, as in:

totext({@Order Date},"dd/MM/yyyy")

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top