char[] toString(d_time t)
|
toString converts t into a text string of the form: "Www Mmm dd hh:mm:ss GMT+-TZ yyyy", for example, "Tue Dec 08 02:04:57 GMT-0800 1997".
Notes:
* If t is invalid, "Invalid date" is returned.
* t is assumed to be a UTC date and not a local date.
* The function returns the local date as a string. It does the UTC to Local conversion automatically.
See also:
toUTCString,
toDateString,
toTimeString,
parse
|