Algosim documentation: TimeString

TimeString

Returns a textual representation of a time in the default format of a specified locale.

Syntax

Description

If t is a time and ls a locale specifier in the “language-COUNTRY” format, then TimeString(t, ls) returns a string with t formatted in the default time format of ls.

If ls is omitted omitted, the system’s current locale is used.

Examples

TimeString(now(), "en-GB")
19:54:32
TimeString(now(), "en-US")
7:54:30 PM

See also