AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades HFSQL
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The TimestampType property is used to:
  • Find out the type of timestamp for an item. This item was defined in the data model editor or programmatically.
  • Define the type of timestamp for a Date, Time or DateTime item (when describing the item through programming).
Reminder: A "Timestamp" field cannot be assigned by programming.. The date the record was created or last changed will automatically be assigned to it.
Ejemplo
AFile is File Description
AnItem is Item Description
AnItem.Name = "CmdDate"
UneRubrique.TimestampType = htsCreation
UneRubrique.TimestampUTC = False
HDescribeItem(AFile, AnItem)
Sintaxis

Find out the type of timestamp for an item Ocultar los detalles

<Result> = <Data file>.<Item>.TimestampType
<Result>: Integer constant
Type of timestamp for the item:
htsCreationTimestamp when creating the record only.
htsLastModificationTimestamp whenever modifying the record.
htsNoneNo timestamp.
<Data file>: Character string
Name of the data file used.
<Item>: Character string
Name of item used.
WINDEVWEBDEV - Código ServidorReportes y ConsultasiPhone/iPadIOS WidgetCódigo de Usuario (UMC)Ajax

Defining the type of timestamp for a Date, Time or DateTime item Ocultar los detalles

<Item>.TimestampType = <Type of timestamp>
<Item>: Character string
Name of the item used. This name is defined with the Item Description type.
<Type of timestamp>: Integer constant
Type of timestamp for the item:
htsCreationThe item is a timestamp item filled when creating the record only.
htsLastModificationThe item is a timestamp item filled whenever modifying the record.
htsNoneThe item is not a timestamp item.
Observaciones
  • In the data model editor, you have the ability to define a Timestamp item.
  • To define a Timestamp item programmatically:
    • The item must be a DateTime, Date or Time item,
    • the timestamp type is specified with the TimestampType property.
Versión mínima requerida
  • Versión 21
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 06/12/2024

Señalar un error o enviar una sugerencia | Ayuda local