Get String in YYYYMMDD format from JS date object?
Asked 2010-06-18T00:54:12.003
557
I'm trying to use JS to turn a date object into a string in YYYYMMDD format. Is there an easier way than concatenating Date.getYear(), Date.getMonth(), and Date.getDay()?