Get the current date

xiaoxiao2021-03-06  40

Function getdate () {var TodayDate = new Date (); day = TodayDate.getdate (); month = TodayDate.getMonth () 1; year = TodayDate.GetyEar () 1900;

Document.write (1900 year); Document.write (Month);

Document.write (date); RETURN DAY "-" Year "-" MONTH;

}

转载请注明原文地址:https://www.9cbs.com/read-69423.html

New Post(0)