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