PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Converts a local date and time into the date and time of a time zone.
Example
dtLocal is DateTime = Now()
dtNewYork is DateTime = DateTimeLocalToTimeZone(dtLocal, "America/New_York")
Syntax
<Result> = DateTimeLocalToTimeZone(<DateTime> , <Time Zone>)
<Result>: Character string
Date and time in "YYYYMMDDHHMMSSCC" format expressed in the specified time zone.
<DateTime>: DateTime or character string in "YYYYMMDDHHMMSSMMM" format
Local date and time to convert.
<Time Zone>: Character string (with quotes)
Name of the time zone in the "tz" database (or Olson database) that must be used to convert the <DateTime> parameter.
This name must correspond to the full name of the time zone defined by the IANA Time Zone Database. For example: "Europe/Paris", "Europe/London", "America/New_York", ...
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Java wd230java.jar
Linux wd230std.so
Android wd230android.jar
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment