Table of Contents

Date.toString( ) Method Flash 5

a human-readable string representing the date
date.toString()

Returns

A string giving the time and date of date in human-readable format, including the UTC (GMT) offset. To compose customized representations of the date, use the methods for retrieving the day, hours, minutes, and so on, and concatenate those values to form your own strings, as shown earlier in the Example under Date class.

Example

trace (myDate.toString()); // Displays a date in the format:
                            // Wed Sep 15 12:11:33 GMT-0400 1999

Table of Contents