Date.toString()

Availability

Flash Player 5.

Usage

my_date.toString()

Parameters

None.

Returns

A string.

Description

Method; returns a string value for the specified date object in a readable format, and returns the new time in milliseconds.

Example

The following example returns the information in the dateOfBirth_date Date object as a string.

var dateOfBirth_date = new Date(74, 7, 12, 18, 15);
trace (dateOfBirth_date.toString());

Output (for Pacific Standard Time):

Mon Aug 12 18:15:00 GMT-0700 1974