From Clomosy Docs
No edit summary |
ClomosyAdmin (talk | contribs) 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:|description=Learn how to use the DateToStr function in Clomosy to convert TclDateTime values into easily readable date strings for display.}} | |||
Revision as of 10:57, 24 December 2024
function DateToStr(const DateTime: TclDateTime):string;
Converts a TclDateTime value into a string.
Use DateToStr to obtain a string representation of a date value that can be used for display purposes.
Example
var
myDate : TclDateTime;
{
myDate = StrToDate('27.02.2023');
ShowMessage('myDate = '+DateToStr(myDate));
}
Output:
myDate = 27.02.2023