Parse, manipulate, and display dates in javascript.