What is returned in the background in the red circle is a time frame. How to convert it to year, month, day type?"
小伙看你根骨奇佳,潜力无限,来学PHP伐。
Use moment.js to convert time into the format you want
The number above is the timestamp.
new Date(timestamp) can construct the timestamp into a Date object
Use the Date method to complete 年月日string conversion
年月日
Use moment.js to convert time into the format you want
The number above is the timestamp.
new Date(timestamp) can construct the timestamp into a Date object
Use the Date method to complete
年月日
string conversion