From Clomosy Docs

Revision as of 14:06, 24 December 2024 by ClomosyAdmin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The TimeToStr function converts a TclDateTime value S into a formatted time string. The time is formatted using the LongTimeFormat value, which in turn uses the TimeSeparator value.

Example

 var
   myTime : TclDateTime;
 
 {
   myTime = StrToTime('15:22:35');
   ShowMessage('myTime = '+TimeToStr(myTime));
 }

Output:

See Also