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

Date Formatting

Status
Not open for further replies.

Zeuromus

Programmer
Nov 22, 2000
6
0
0
US
How do I get the date to be formatted MM-DD-YYYY instead of YYYY-MM-DD. The program we are reporting from wants to format the date in YYYY-MM-DD, which is really annoying. Is there a UFL out there to format the date differently??

:-9
 
Hi Zeuromus !

Do you have tried to change the format of the date in the menu FILE - Option and Date in the Field-Tab.
I've The version 6 of CR and it works quite good.

Akinia
 
I have the same problem with a database that stores the date as a string, and then in the format of YYYY-MM-DD. I use this formula to reformat it (still as a string, date calcs won't work) but puts it into MM-DD-YYYY.

({Query.ActionDate}[6 to 7] + "-" + {Query.ActionDate}[9 to 10]+ "-" +
{Query.ActionDate}[1 to 4])

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top