藉由javascript呈現當地時區時間=終端機時區(並非PHP伺服器時區)
藉由javascript呈現終端機時間-自動加入終端機時區(並非PHP伺服器時區)
https://stackoverflow.com/questions/3552461/how-do-i-format-a-date-in-javascript
自訂時間與日期之格式:
day:
The representation of the day.
Possible values are "numeric", "2-digit".
----------------------------------------------------
weekday:
The representation of the weekday.
Possible values are "narrow", "short", "long".
----------------------------------------------------
year:
The representation of the year.
Possible values are "numeric", "2-digit".
----------------------------------------------------
month:
The representation of the month.
Possible values are "numeric", "2-digit", "narrow", "short", "long".
----------------------------------------------------
hour:
The representation of the hour.
Possible values are "numeric", "2-digit".
----------------------------------------------------
minute: The representation of the minute.
Possible values are "numeric", "2-digit".
----------------------------------------------------
second:
The representation of the second.
Possible values are "numeric", 2-digit".
----------------------------------------------------
hour12:
The representation of time format.
Accepts boolean true or false