Date toString()
The toString() method returns the date and time with time-zone information.
<!DOCTYPE html>
<html>
<head>
<title>Example</title>
<script type="text/javascript">
var aDate = new Date(Date.UTC(2000, 0));
document.writeln(aDate);
document.writeln(aDate.toString())
</script>
</head>
<body>
</body>
</html>