PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
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 date and time from a particular time zone to a local date and time.
Versions 25 and later
WEBDEV - Browser code This function is now available in browser code.
New in version 25
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Browser code This function is now available in browser code.
Example
dtLocal is DateTime = Now()
dtParis is DateTime = DateTimeTimeZoneToLocal(dtLocal, "Europe/Paris")
Syntax
<Result> = DateTimeTimeZoneToLocal(<DateTime> , <Time zone>)
<Result>: Character string
Local date and time in "YYYYMMDDHHmmSSCCC" format.
<DateTime>: DateTime or character string in "YYYYMMDDHHmmSSCCC" format
Date and time from the <Time zone> to convert.
<Time zone>: Character string (with quotes)
Name of the time zone in the "tz" database (or Olson database) that corresponds to the date and time passed as parameters.
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", etc.
Business / UI classification : Neutral code
Component : wd260std.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment