On 12/16/12 12:47 PM, mscdex wrote:
On Dec 16, 8:53 am, Filipe <fili...@gmail.com> wrote:
What's the clever way to do this?

Well, probably the easiest way would be to compute the difference
between the UNIX timestamps (in seconds) and do a setTimeout with a
timeout value of that difference (multiplied by 1000 to convert to
milliseconds).

First you need to convert the local time to UTC. See:

https://github.com/bigeasy/timezone

--
Alan Gutierrez - @bigeasy

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to