Skip to content

Comment on Show HN: WakeMyself. Get a wakeup call from your yesterday's self.parent

Comments

Re: 1, you can set it in the database as a UTC record and then have it visually change in the HTML (using javascript) with several options.

Eg: If I select 7am on 6/15 from your dropdown list, you render some inline HTML that shows some/all of the following:

"7am EST" "4am PST" "6am CST"

etc

Timezones are definitely tricky, but if you search StackOverflow or other sites there might be some good recommended approaches.

I've worked in a lot of time/timezone related apps and Moment (Javascript) has treated me the best so far.

http://momentjs.com/

http://www.datejs.com/ has been my goto js lib for handling frontend date/time.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.