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!

Format Date

Status
Not open for further replies.

emuye

MIS
Aug 23, 2004
41
US



2001/03/05 11:46:00.00

How can i format the above date field to YY/DD/MM where yy means year, dd stands for date and mm stands for month
thanx
 
Try:

totext({table.datetime},"yy/dd/MM")

-LB
 
I tried your method however it says too many arguments have been given to this function.
 
I'm guessing your field is actually a string, so try the following:

totext(dtstodate({table.stringdate}),"yy/dd/MM")

If this doesn't work, please browse your field and report back with its datatype.

-LB
 
Thank you it worked! You guess is right my field is a stirng . again thanx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top