DayOfMonth

 (Available in 01 TS COM - TS_COM_DateTimeFromVariant)

Purpose

Get the day of the month value

Syntax

? oDateTimeFromVariant:DayOfMonth

Description

Get the day of the month value

Returns

DWORD, DayOfMonth

Example

? oDateTimeFromVariant:DayOfMonth

Source

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