Simple javascript function to format the date as YYYY-MM-DD
19 Apr 2013Tired of concatenating Date.getYear() Date.getMonth(), and Date.getDay() to format todays date in Javascript?
Heres a simple javscript function I use to output the date in YYYY-MM-DD format