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

fromitem date format problem

Status
Not open for further replies.

lucidtech

IS-IT--Management
Jan 17, 2005
267
US
I'm trying to get this date to display using the DateFormat function. It always does something like "Thu May 10 04:29:31 GMT-0700 2007". The code is below -

<cfformitem type="html" bind="Created: #DateFormat({gridUnit2.dataProvider[gridUnit2.selectedIndex]['mxtg_created']}, 'mm/yy')#" />

Any point in the right direction would be greatly appreciated.
 
Try the ParseDateTime function

#ParseDateTime("Thu May 10 04:29:31 GMT-0700 2007", "Standard")#
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top