LSParseDateTime (date/time-string) DescriptionFormats a date/time string in a specific locale format. Example<cfloop index = "exampleLocale" LIST = "#Server.Coldfusion.SupportedLocales#"> <cfset currentLocale= SetLocale(exampleLocale)> <cfoutput> #exampleLocale# #LSDateFormat(Now())# #LSTimeFormat(Now())# #LSDateFormat(Now(), "mmm-dd-yyyy")# #LSDateFormat(Now(), "mmmm d, yyyy")# #LSDateFormat(Now(), "mm/dd/yyyy")# #LSDateFormat(Now(), "d-mmm-yyyy")# </cfoutput> </cfloop> |