Ahh. Good question. It is just numeric. I beleive I need to change it to date-time object?
-----Original Message----- From: "Ian Skinner" <[email protected]> Sent: Monday, February 7, 2011 11:19am To: "cf-talk" <[email protected]> Subject: Re: 2r hour time format On 2/7/2011 8:14 AM, Orlini, Robert wrote: > Thank you all. > > I looked over the livedocs for CF and formatted it this way: > > #TimeFormat(get.prodreccounttime, "hh:mm:ss")# > > However, instaed of the time "1630" becoming "16:30" I get "12:00:00". > > What did I do wrong here? > > RO What type of data is 'get.prodreccounttime'? Is it a date-time object, which is what the TimeFormat() function requires. Or is it a numeric value that just looks like a time value to a human? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341941 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

