Date

Copy

Description

Copy allows a date to be copied to this date object.  If you simply assign a date to more than one variable, both will change if you change either variable.  For this reason, it is often better to copy the value using a Copy method, or clone the value using Clone.

Syntax

dt:Copy(dtDate)

Parameters

dtDate
Date to be copied

Return Value

None

Remarks

Example
dtNew:Copy(dtOld)