Write a function to judge the time difference. I don't know what's wrong. It's always undefined.

Jan.13,2022
In

1.checktime, there is if without else;
2.js. The month is from 0-11


  http://momentjs.cn/

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bac4-2bafc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bac4-2bafc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?