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!

ToText Function in crystal reports 1

Status
Not open for further replies.

chevyimpala

Programmer
Dec 19, 2003
37
US
Hi,

I am using the ToText function in a query for my report. It takes the currentdate and complies it to be text, however it is removing the 0 in the single diget days of the week. So for example instead of looking like 5/04/2004 it reads 5/4/2004. My report needs the extra 0 in the date section in order to calculate my numbers. Can anyone help me figure out how to get it to keep the 0 for single digit days.

THX

Ivan
 
Try:

ToText(CurrentDate, "M/dd/yyyy")

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top