Month

 (Available in 01 TS COM - TS_COM_DateTimeFromVariant)

Purpose

Get the month(s) value

Syntax

? oDateTimeFromVariant:Month

Description

Get the month(s) value

Returns

DWORD, Month

Example

? oDateTimeFromVariant:Month

Source

ACCESS Month AS DWORD PASCAL CLASS TS_DateTimeFromVariant
LOCAL dwMonth AS DWORD
   TSTrace Enter
   IF SELF:IsValidObject
      dwMonth:=DWORD( SELF:_SystemTime.wMonth )
   ELSE
      TSTrace Warning "!SELF:IsValidObject"
      dwMonth:=0U
   END
   TSTrace Leave
RETURN dwMonth