ItemSetDate()

Sets the start and/or end date, or duration of Tasks, Appointments and Notes. EndMinute is not optional when trying to set the Due On date of a Task.

Token ID

AFTKN_ITEM_SET_DATE or 792

Syntax

VOID ItemSetDate(ANSISTRING MessageID; 
                  [WORD StartDay]; 
                  [WORD StartMonth]; 
                  [WORD StartYear]; 
                  [WORD StartMinute]; 
                  [WORD StartHour]; 
                  [WORD EndDay]; 
                  [WORD EndMonth]; 
                  [WORD EndYear]; 
                  [WORD EndMinute]; 
                  [WORD EndHour]; 
                  [WORD DurationMinutes]; 
                  [WORD DurationHours])

Parameters

MessageID As ANSISTRING

StartDay As WORD

(Optional)

StartMonth As WORD

(Optional)

StartYear As WORD

(Optional)

StartMinute As WORD

(Optional)

StartHour As WORD

(Optional)

EndDay As WORD

(Optional)

EndMonth As WORD

(Optional)

EndYear As WORD

(Optional)

EndMinute As WORD

(Optional)

EndHour As WORD

(Optional)

DurationMinutes As WORD

(Optional)

DurationHours As WORD

(Optional)