JavaScript Tutorial/Date/toString
Версия от 18:52, 25 мая 2010; (обсуждение)
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>