On 9/7/06, Will <[EMAIL PROTECTED]> wrote:
>
> Hi Mochikit, I am trying to figureout if the DateTime lib has a method
> for converting UNIX Timestamps or if I need to convert my timestamp to
> another form first.
>
> My timestamps look like: 1157581247
>
> The only thing that seemed to sort of work was isoTimestamp(str)
>
> however that ALWAYS gives me:
> Wed Jan 14 1970 04:33:04 GMT-0500 (Eastern Standard Time)

var d = new Date(1157581247 * 1000);

-bob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to