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 15:00, local time: 2024/12/11 15:24,
3.144.112.106: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://sxlist.com/Techref/language/java/SCRIPT/definitive/refp_68.htm"> [Chapter 21] Reference: Date.toLocaleString()</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.