Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What is the format of data stored by date type? What is the format of data stored by time type?
What is the format of data stored by date type? What is the format of data stored by time type?
The format in which the date type is stored as a string type is preferably "thusep2100: 00: 00cst2017".

Because you can use the new date directly; Convert in a way that does not require formatting.

It is found that using new Date () directly will lead to an increase of one day when some dates are displayed. This is due to the calculation error of the new Date () method itself, so date formatting should be used here instead of the previous method.