ASP time zone conversion problems
Original code, strdatetime = now () because the space is in the United States, this obtains how to write the time in the United States, which can be converted to Beijing time.
The US West time is the West 8 Area, Beijing time is the East 8 area, that is, the US West time is 16 hours slower than the Beijing time, So Beijing time = US West time + 16 hours get: strdatetime = dateadd ("H", 16, now (): The United States has four time zones: West, Central, central, and east. The western region is two hours slower than the central region, two hours slower than the eastern region, and the western United States is 16 hours slower than the Beijing time (Standard Time, excluding the Beijing time ).
If you buy VPs, you can also change the system time zone to the east 8 zone, so that you do not need to modify the original code.