Split-Datum in javascript

Wie teilt man das folgende Datum in javascript,

 var date='2002-01-01';
   The result should be as 20020101

Dank..

InformationsquelleAutor Hulk | 2010-05-05
Schreibe einen Kommentar