Value on a Date

Using value on a date is the proper way to format and output a date.

The (awesome) moment lib will be used to format it. You should put a parameter to indicate how to format it:

will output April 14, 1980 in English.

See displaying dates with moment.js for plenty of options.

The date has to be a real standard JavaScript date, not a string. If you have a string parse it before, using new Date(string) or util.moment.