XDate.toString

Returns a string representing the specified XDate object.

Method of XDate

Syntax

toString()

Parameters

None.

Description

The XDate object overrides the toString method of the Object object; it does not inherit Object.toString. For XDate 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 XDate object to myVar:

See also

Object.toString

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.