Date.setMilliseconds() 會依本地時間設定日期物件的毫秒數。
date.setMilliseconds(250)
若數值超出 0 到 999,會自動進位到秒。
這個方法適合需要毫秒級別時間校正的場合。