I'm amazed that some brilliant chap wrote the moment node to help in situations like this
To be fair though, Moment.js, while excellent, is BIG. You should avoid it if resources are an issue. But it is comprehensive and does cover pretty much every edge-case for date/time handling.