Date.toSource() : toSource : Date JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Date » toSource »

 

Date.toSource()









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>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Date
» toSource