PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..TimestampType is used to:
  • Find out the type of timestamp for an item. This item was defined in the data model editor or by programming.
  • Define the type of timestamp for a Date, Time or DateTime item (when describing the item by programming).
Versions 22 and later
WINDEVJava This property is now available for the Java applications.
Android This property is now available for the Android applications.
Android Widget This property is now available in Android Widget mode.
New in version 22
WINDEVJava This property is now available for the Java applications.
Android This property is now available for the Android applications.
Android Widget This property is now available in Android Widget mode.
WINDEVJava This property is now available for the Java applications.
Android This property is now available for the Android applications.
Android Widget This property is now available in Android Widget mode.
Example
AFile is File Description
AnItem is Item Description
AnItem..Name = "CmdDate"
AnItem..TimestampType = htsCreation
AnItem..TimestampUTC = False
HDescribeItem(AFile, AnItem)
Syntax

Find out the type of timestamp for an item Hide the details

<Result> = <File Name>.<Item Name>..TimestampType
<Result>: Integer constant
Type ot timestamp for the item:
htsNoneNo timestamp.
htsCreationTimestamp when creating the record only.
htsLastModificationTimestamp whenever modifying the record.
<File Name>: Character string (with or without quotes)
Name of data file used.
<Item Name>: Character string (with or without quotes)
Name of item used.
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 AppAjaxUser code (UMC)

Defining the type of timestamp for a Date, Time or DateTime item Hide the details

<Item Name>..TimestampType = <Type of Timestamp>
<Item Name>: Character string (with or without quotes)
Name of item used. This name was defined by the Item Description type.
<Type of Timestamp>: Integer constant
Type ot timestamp for the item:
htsNoneThe item is not a timestamp item.
htsCreationThe item is a timestamp item filled when creating the record only.
htsLastModificationThe item is a timestamp item filled whenever modifying the record.
Remarks
  • In the data model editor, you have the ability to define a Timestamp item.
  • To de fine a Timestamp item by programming:
    • The item must be a DateTime, Date or Time item,
    • the timestamp type is specified by ..TimestampType.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment