From Clomosy Docs
No edit summary |
ClomosyAdmin (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| 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.}} | |||
Latest revision as of 13:52, 24 December 2024
function DateTimeToStr(const DateTime: TclDateTime):string;
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:
Middle of a day = 27.02.2023 14:59:01