Re: Turning string into a time object
>>And turn it into a date/time object Have a look CF_ODBCdate, free at http://www.contentbox.com/claude/customtags/ODBCdate/viewODBCdate.cfm?p=hf ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Turning string into a time object
> And turn it into a date/time object that you can use datediff with? It depends where you get the string from? You can parse the String and use createDateTime() to create an DateTime Object.. Joe Eugene - Original Message - From: "Rich Z" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, September 10, 2003 4:58 PM Subject: Turning string into a time object > What's the easiest way to take a string like this: > > Wed, 10 Sep 2003 13:45:11 PDT > > And turn it into a date/time object that you can use datediff with? What > I'm really trying to do is conver the time zone into the logged-in > user's existing timezone (which is known beforehand). > > Thanks in advance, > Rich > > ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Turning string into a time object
What's the easiest way to take a string like this: Wed, 10 Sep 2003 13:45:11 PDT And turn it into a date/time object that you can use datediff with? What I'm really trying to do is conver the time zone into the logged-in user's existing timezone (which is known beforehand). Thanks in advance, Rich ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com