LSDateFormat (date [, mask ]) DescriptionFormats a date in a specific locale format. The format is set by the locale of the server. To find out the current locale setting, use the GetLocale function. Use the following values for the mask:
Example<cfoutput> #LSDateFormat(Now())# #LSDateFormat(Now(), "mmm-dd-yyyy")# #LSDateFormat(Now(), "mmmm d, yyyy")# #LSDateFormat(Now(), "ddd, mmmm dd, yyyy")# #LSDateFormat(Now(), "d/m/yy")# </cfoutput> |