ToDateTimeString
function ToDateTimeString(date: Date | any, timeFormatLocale?: string | null): stringThe function ToDateTimeString converts a date in accordance with a transferred localization into a string containing the date including the time.
Parameter
| 
             Name  | 
             Type  | 
             Description  | 
|---|---|---|
| 
             date  | 
             Text, numbers (milliseconds since 1/1/1970) or JavaScript date object.  | |
| 
             timeFormatLocale  | 
             The localization variable as a string. If this is not specified, the currently active language is used for times.  | 
Return value
| 
             Type  | 
             Description  | 
|---|---|
| 
             The date with time of the input value according to the localization in the form of a string.  | 
NuGet package: Beckhoff.TwinCAT.HMI.Functions
![]()  | NuGet packages are available from version 1.12.  | 
![]()  | Available from version 1.10  | 
