dt_ansi_to_pretty (public)

 dt_ansi_to_pretty [ ansi_date ]

Defined in packages/acs-datetime/tcl/acs-datetime-procs.tcl

Converts an ANSI date into a localzed one. With no argument, it returns the current date based on server time. Works for both date and date-time strings.

Parameters:
ansi_date (optional)
Date in ANSI format (for example, 1998-09-05)
Returns:
Localized date (for example, on 'en_US', 05/09/98)

Testcases:
dt_localized_procs
[ show source ]
Show another procedure: