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

Date Format Question 2

Status
Not open for further replies.

nsukari

Technical User
Jul 17, 2002
26
US
I know almost nothing about Cold Fusion, so I know this will be really easy for other people. I need to format a date that is output from an access table to m/d instead of mm/dd/yy. It is already formatted as m/d in Access, but when it comes over in CF, it comes over as mm/dd/yy. Here is my CFquery field. #DateFormat(DOB)#

Please help!!!

Thanks
 
In your cold fusion page.. put this format to the database field..

<cfoutput># LSDateFormat(query.field,'MM/DD') #</cfoutput>

Greetigns...bricenoej
 
Thank you so much. Both methods work great!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top