John Davidson

php - date('d.m.Y H:i:s', (int)$record['crdate']) produces sometimes a wrong output

0 comments
Message:


date('d.m.Y H:i:s', (int)$aRecord['crdate']) produces sometimes a wrong output e.g. "24.02..2022 18:36:32"


How could this happen?



My Answer:
Y-m-d H:i:s");

Rate this post

3 of 5 based on 6629 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us