Jump to content

help understanding strtotime better


mikefrederick

Recommended Posts

I just grabbed a time from my database that was put in there a couple days ago using strtotime(date('m/d/Y'));

 

When I echo date('m/d/Y',$grabbed_date); I get today's date.

 

BUT, when I echo strtotime(date('m/d/Y')); it does not equal the grabbed date. Why is this?

Link to comment
https://forums.phpfreaks.com/topic/131755-help-understanding-strtotime-better/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.