Date.toString() : toString : Date JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Date » toString »

 

Date.toString()








The toString() method returns a string representation of the Date object in the local time zone.

The toString() method displays the date in the local time zone.












<html>
    <script language="JavaScript">
    <!--
    theDate = new Date();

    document.write(theDate.toString());

    -->
    </script>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Date
» toString