A string representing the date taking the locale into account.
The contents of the string that is returned, is implementation dependent. This method is intended to represent the date in a convenient and human-readable form that is appropriate to the geographic or cultural locale that is defined for the hosting environment.
In the Macintosh environment, the format should conform to that set by the date/time control panel in accordance with the Apple guidelines for application developers.
See also: | Cast operator, Date.prototype |
Prev | Home | Next |
Date.toLocaleDateString() | Up | Date.toLocaleTimeString() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |