My inventor's timing is wrong.

Author: tgh9953891, Created: 2022-04-19 02:04:22, Updated: 2022-04-19 11:38:12

function main (()) { var ts = new Date (().getTime (() is the name of the Log ((_D)) I'm not sure. The timing of the printing is wrong, please help me solve it, thank you! Date Platform type price quantity information This article is part of our ongoing series on the history of the United States. Why don't inventors have a forum where they need help?


More

AAA386The time zone varies, Beijing time plus 8 hours is used, for example: new Date (().getTime (() + time zone difference ((8*60*60*1000))

tgh9953891The platform time is 02:00:53 on April 19, 2022, but the time of release with _D is 18:00:53 on April 18, 2022.

tgh9953891The platform time is 02:00:53 on April 19, 2022, but the time of release with _D is 18:00:53 on April 18, 2022.

ChaoZhangnew Date ((() is running on your host, so it's the server where your host is located that's wrong, not the +8 time zone, so you can search for it in javascript to convert Beijing time.

The Little DreamThe current page is forum. The time of printing is not a problem: What's up? Date Platform type price quantity information This article is part of our ongoing series on the history of the United States. What's up? I don't see the problem.

ChaoZhangTo take into account the deviation, the time zone of the host server is uncertain, so we first switch to UTC and add 8 hours.

The Little DreamI've been thinking about this for a while.

tgh9953891It's the real thing.

The Little DreamConsider the time zone issue.

The Little DreamI'm not sure if it's real or not.

tgh9953891_D is not extracting the current time? But the extraction time is a few hours behind the actual current time.