Whatever message this page gives is out now! Go check it out!
LSParseDateTime(date [, locale, format])Parameter | Description |
date | A string a variable that contains one, in a format that is readable in the current locale. |
format | Optional, provides the format of the string. This string is used to parse the given date string to date time object. |
locale | Locale to use instead of the locale of the page when processing the function |
Format | Example |
m/dd/yy h:nn:ss | 1/30/02 7:02:33 |
m/dd/yy h:nn tt | 1/30/02 7:02 AM |
m/dd/yyyy h:nn | 1/30/2002 7:02 AM |
mmm dd, yyyy h:nn:ss tt | Jan 30, 2002 7:02:12 AM |
mmmm dd, yyyy h:nn:ss tt zzz | January 30, 2002 7:02:23 AM PST |
ddd, mmm dd, yyyy hh:nn:ss | Wed, Jan 30, 2002 07:02:12 |
dddd, mmmm dd, yyyy h:nn:ss tt zzz | Wednesday, January 30, 2002 7:02:12 AM PST |
<cfoutput>#lsParseDateTime("01/08/2011","en","MM/dd/yyyy")#</cfoutput>