OK, so the title of this post might be a bit overstating.
var now = new Date();
// Returns, e.g., 6/09/07
// You can use one of several named masks
// …Or add your own
dateFormat.masks.hammerTime = ‘HH:MM! “Can\’t touch this!”‘;
// 17:46! Can’t touch this!