Issue with PARSEDATETIME(), odd Year difference
I'ev been having an odd issue trying to convert a long string format for a date and it is showing up 10 years eaarlier. Not sure if this is something to do with the decade or what. I even threw it into the Parser script in the LiveDocs and it comes up wrong or at least not what I want.
The date comes from CFDIRECTORY datelastmodified. I need to compare it to another date using datediff() so I can show only files no older than 90 days.
Here is the date as I put it in.
ParseDateTime Example
The expression "Wed May 05 09:30:42 EDT 2010" is a valid date
The parsed date/time is: {ts '2000-05-05 09:30:42'}
Enter an expression, and discover if it can be evaluated to a date value.
I tried more normal date strings with 2010 and they work. Is it the format I am putting in? WED? and EDT? Are they causing the issue?