[flexcoders] Convert String to Date?

2008-09-15 Thread Mark Easton
Gosh, I cant believe I am asking this question. But, other than parsing the string I cannot see anyway to obviously convert my string to a date format. My string is returned from a SQL query and passed to my app via XML. So my string is in the format: YYY-MM-DD HH:M:SS. This is a standard SQL

RE: [flexcoders] Convert String to Date?

2008-09-15 Thread Tim Rowe
Subject: [flexcoders] Convert String to Date? Gosh, I cant believe I am asking this question. But, other than parsing the string I cannot see anyway to obviously convert my string to a date format. My string is returned from a SQL query and passed to my app via XML. So my string is in the format

Re: [flexcoders] Convert String to Date?

2008-09-15 Thread shaun
Mark Easton wrote: Gosh, I cant believe I am asking this question. But, other than parsing the string I cannot see anyway to obviously convert my string to a date format. My string is returned from a SQL query and passed to my app via XML. So my string is in the format: YYY-MM-DD HH:M:SS.

RE: [flexcoders] Convert String to Date?

2008-09-15 Thread Mark Easton
Good stuff - thanks! _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Rowe Sent: Tuesday, September 16, 2008 1:00 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Convert String to Date? I had the same thing just a few weeks ago. Note here

[flexcoders] convert string to date -

2006-04-05 Thread venkat eswar
hi,how to convert a string format like "22-4-2006" to date in flex 2.0 ? New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] convert string to date -

2006-04-05 Thread Oriol Gual
Just do this:var date:Date = new Date(22/5//2006) or var date:Date = new Date(2006,5,22)Remember that months go from 0 (January) to 11 (December) not 1 to 12.BTW, try to look at the documentation before asking, I think it's all quite good explained: Date doc: