Syntax
date.toSource()
The toSource() method converts the Date object to a string that represents the source of the Date instance that was created.
<html> <script language="JavaScript1.3"> <!-- theDate = new Date(2002,3,16,15,48,23,234); document.write(theDate.toString()); document.write(theDate.toSource()); --> </script> </html>