Hacker News new | ask | show | jobs
by nerdponx 584 days ago
You might also want to support a Unix timestamp as input, i.e. an integer or decimal number of (mili|micro|nano-)seconds since the Unix epoch. No need to worry about messy date parsing there.