79435882

Date: 2025-02-13 10:51:37
Score: 1
Natty:
Report link

Get timestamp of today

$iTimestamp = new \DateTime()->getTimestamp()

Get timestamp of yesterday

$iTimestamp = new \DateTime("1 day ago")->getTimestamp()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Guido K.B.W. Üffing