PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
The TimestampUTC property is used to:
  • Find out whether a timestamp item will use UTC time or local time. This item was defined in the data model editor or through programming.
  • Define whether a timestamp item will use a UTC time or a local time (when describing the item by programming).
Example
AFile is File Description
AnItem is Item Description
AnItem.Name = "CmdDate"
AnItem.TimestampType = htsCreation
AnItem.TimestampUTC = False
HDescribeItem(AFile, AnItem)
Syntax

Finding out whether a timestamp item will use UTC time or local time Hide the details

<Result> = <Data file>.<Item>.TimestampUTC
<Result>: Boolean
  • True if the timestamp item uses a UTC time.
  • False if the timestamp item uses a local time.
<Data file>: Character string
Name of the data file used.
<Item>: Character string
Name of item used.
WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppiPhone/iPadIOS WidgetUser code (UMC)Ajax

Indicating whether a timestamp item will use a UTC time Hide the details

<Item>.TimestampUTC = <Value>
<Item>: Character string
Name of the item used. This name was defined by the Item Description type.
<Value>: Boolean
  • True if the timestamp item must use a UTC time.
  • False if the timestamp item must use a local time.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment