One is the background generation time new Date (), which defaults to the current system time. If formatting is needed, just use the date format.
One is the database generation time, directly using the functions in the database, mysql is now (), and other databases can own Baidu.