Description
Converts the date to a string using the current locale.
Syntax
Date1.toLocaleString( )
Parameters
Returns
A string object
Example
d = new Date(Date.UTC(1989, 11, 28, 10, 30, 5)); trace(d.toLocaleString()); //output: Thu Dec 28 18:30:05 GMT+800 (中国标准时间) 1989