PHP style date utilities for node.js