toString( )
Topic group Related topics Example
Converts the date into a string, using standard JavaScript conventions.
Syntax
<oRef>.toString( )
<oRef>
The Date or Number object you want to convert.
Property of
Date, Number
Description
The toString( ) method converts the date or Number Object Value to a string.
For the Date objects it returns in standard JavaScript format, which includes the complete time zone description. For example,
"Mon May 06 19:55:27 Pacific Daylight Time 2002"