Date

SetDatePhrase

Description

SetDatePhrase allows the date to be set to a date phrase, which can be any string. Additionally a date-point can be provided which will subsequently be used for computations:

Syntax

dt:SetDatePhrase(strPhrase[,dpDatePoint])

Parameters

strPhrase
string: Phrase to be recorded
dpDatePoint1
date-point object to be used for computations only

Return Value

None

Remarks

Example
dtOccuDate:SetDatePhrase('during the Great Plague',dpPlagueDate)