ItemGetDate()

Returns the date specified by the DateType parameter.

Token ID

AFTKN_ITEM_GET_DATE or 674

Syntax

ANSISTRING ItemGetDate(ANSISTRING MessageID; 
                        ENUM DateType; 
                        ENUM DateFormatType)

Parameters

MessageID As ANSISTRING

Unique item identifier, returned by ItemMessageIDFromView().

DateType As ENUM

Type of date information, as follows:

Constant

Value

AssignedDate

112

BeginDateTime

126

CreateDate

139

DueDate

148

Duration

0

EndDateTime

151

DateFormatType As ENUM

Constant

Value

Comments

Date

176

Returns in format: Month/Day 12HR:MIN AM[PM].

MAPIDate

174

Returns in format: Year/Month/Day 24HR:MIN.

Return Values

ANSISTRING