In fact these datetime "objects" are just a different type of string:
{ts '2005-06-14 23:30:11'}
-----Original Message-----
From: Dawson, Michael [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 14 June 2005 11:32
To: CF-Talk
Subject: RE: [QUARRANTINE]CFDUMP and value formatting
>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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:209422
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54