Returns a string representing the specified Date object.
Method of Date
Syntax
toString()
Parameters
None.
Description
The Date object overrides the toString method of the Object object; it does not inherit Object.toString. For Date objects, the toString method returns a string representation of the object.
MetaScript calls the toString method automatically when a date is to be represented as a text value or when a date is referred to in a string concatenation.
Examples
The following example assigns the toString value of a Date object to myVar: