From Clomosy Docs

No edit summary
No edit summary
 
Line 24: Line 24:
<h2> See Also </h2>
<h2> See Also </h2>
* [[System_Library#Type_Conversion_Functions | Type Conversion Functions]]
* [[System_Library#Type_Conversion_Functions | Type Conversion Functions]]
{{#seo:|title=DateTimeToStr Using in Clomosy - Clomosy Docs}}
{{#seo:|description=DateTimeToStr converts a TclDateTime value to a string, formatted according to local date and time settings.}}
{{#seo:|description=DateTimeToStr converts a TclDateTime value to a string, formatted according to local date and time settings.}}

Latest revision as of 13:52, 24 December 2024

Converts a TclDateTime value to a string, using the local settings for displaying date and time.

Example

 var
   myDate : TclDateTime;
 
 {
   myDate = StrToDateTime(Now);
   ShowMessage('Middle of a day = '+DateTimeToStr(myDate));
 }

Output:

See Also