Can anyone help me to see how to convert the time format 20182800255 into 2018-02-08 00:02:55?
If the month, day and hour are 1 digit
First take out the time and then process it, example:
<?php
First take out the time and then process it, example:
<?php
## $a=date("m"); If ($ A/10 & LT; 1) {// Determine whether the month is zero $ b = $ a/10*10; Echo " Today is " . $b . "<br>";}?>