One JavaScript instance every day-UTC date and time, and javascript instance-utc
<! DOCTYPE html>
How does the getUTCDate () method of the Date object in JavaScript obtain the day of the Coordinated Universal Time?
GetUTCDate returns the Date value in the Global Standard Time (UTC) representation of the Date object.
GetDate returns the Date value of a month in the Date object expressed in the local time.
The author can search and coordinate the Universal Time on Baidu, which is described in detail.
As for the usefulness of js in obtaining time, it is much better to use js in interaction to obtain time than to use dynamic languages such as php, asp, and jsp, because the browser is equipped with a js interpreter, It is troublesome to use ajax or Dynamic Refresh to use those languages.
There is a statement in javascript to get the date of today, and there is a time year, but what is GMT? 1 Can someone tell me/
GMT is Greenwich Mean Time
GMT is the abbreviation of Greenwich Mean Time (GMT ).
Greenwich is a place on the south bank of the river banks in London. Since the 19th century, countries around the world have frequent exchanges, while continental Europe, Continental America, and continental Asia have their own time zones, to avoid chaos, representatives of various countries held an international conference in Washington, USA in 1884. Through an agreement, Greenwich Mean Time was elected as the central point of global time. A watch with the GMT function means that the hourly dial of the watch can display the GMT time.
Beijing time is GMT + 8 because it is 8 hours earlier than Greenwich Mean Time