I am using Node.js for a web app. I would like to fire events at a given time. I know about setTimeout
and calculating the offset from the current time. However, this dosen't take into account timezones and such.
My question is, is there an npm module that can make this process of firing events (or dealing with the clock/time in general) easier?
So for example, I could do: lib.fireEvent("1:00pm PST", event)
which would fire the event every day at 1pm.