My understanding was that they were Java datetime objects in CF6 and above, but I could be totally wrong. James Holmes states that they are simply specially formatted strings, but I thought that was just the default output.
Either way, CF should not be reformatting any of your form strings without you explicitly calling a function. --Ben Dawson, Michael wrote: >>11/14/1979 is a string. Now() and createdate() and parsedatetime() > > etc. > create datetime objects. > > When you say that these create datetime objects, do they only create > correct-formatted date/time strings or is there an actual object > underneath? > > If there is an object can't you do something like: > > <cfset myDate = now()> > > <cfoutput>#myDate.hour()#</cfoutout> > > If you can't do that sort of stuff, then I would assume that CF just > passes "strings" as date/time objects. > > (I haven't tested any of this because I'm running a bunch of SQL Server > imports right now.) > > M!ke > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209426 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

