Date.toDateString() 會回傳日期物件中「日期」部分的可讀字串。
new Date().toDateString()
它常用於只需要顯示年月日、不包含時間的場合。
實際輸出格式會依 JavaScript 引擎而有所不同。