Date

GetType

Description

Returns the Type of Date stored for the Date Object

Syntax

strDateType = dt:GetType()

Parameters

None

Return Value

strDateType
string: Type of Date
Simple A single date - which may include day, month and year, or just month and year, or even just year.
Period Specifies a period of time. The specification may include when the period began, ended or both.
Range An imprecise specification of date. Use this if you know that an event occurred after a given date, before a given date, or between two dates.
Phrase A description of when an event occurred - e.g. "Two weeks after his wife died". May also be 'interpreted' - i.e. when you think the phrase refers to.

Remarks

Example
strDateType = dtDate:GetType()