Navigator 2.0, Internet Explorer 3.0
date.toLocaleString()
none
A string representation of the date and time specified by the Date object date. The date and time are represented in the local time zone.
toLocaleString() converts a date to a string, using the local time zone. This method also uses local conventions for date and time formatting, so the format may vary widely platform to platform, and also country to country. This method returns a string formatted in what is likely the user's preferred date and time format. Because the format may vary widely, this method is not useful when the date string must be passed to a CGI script or otherwise machine processed.
Use Date.toGMTString() to convert a date to a string using the GMT time zone and a more standard format.
file: /Techref/language/java/script/definitive/refp_68.htm, 4KB, , updated: 2019/10/14 16:00, local time: 2024/8/17 01:13,
3.139.237.190:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/language/java/script/definitive/refp_68.htm"> [Chapter 21] Reference: Date.toLocaleString()</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.