Date.getUTCSeconds() 會以 UTC 時區回傳日期物件的秒數,範圍為 0 到 59。
date.getUTCSeconds()
若需要本地時間的秒數,可使用 getSeconds()。
這個方法常用於跨時區時間拆解與日誌處理。