contents   index   previous   next



Date toString()

syntax:

date.toString()

return:

string - representation of the date and time data in a Date object.

 

description:

Converts the date and time information in a Date object to a string in a form such as: "Mon May 1 09:24:38 2000"

 

see:

Date toDateString(), Date toLocaleString(), Date toTimeString()

 

example:

var d = new Date();

var s = d.toString();

 


Date toSystem()