ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Date and time functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Converts a local date and time (time zone, summer time, winter time) to UTC. The information taken into account for the conversion depend on the setting of the current computer.
Example
Info(DateTimeLocalToUTC("20060101150000"))
Syntax
<Result> = DateTimeLocalToUTC(<Local date and time>)
<Result>: Character string or DateTime
UTC date and time, expressed in "YYYYMMDDHHmmSSCCC" format.
<Local date and time>: Character string or DateTime
Local date and time, expressed in "YYYYMMDDHHmmSSCCC" format.
Remarks
The date returned may be different from the date passed as parameter (e.g., if the local time is after midnight and the universal time is before midnight).
Business / UI classification: Neutral code
Component: wd290std.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help