Date.toSource() : toSource « Date « JavaScript Tutorial






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>








12.44.toSource
12.44.1.Date.toSource()