Jump to content

[SOLVED] getting start and end of day


jakebur01

Recommended Posts

This is an example of what I have going. I was using the code below and pulling my start and end times from a database. Now I am no longer doing that, so I want to make the starttime today at 12 AM and the endtime tonight at 11:59 PM

$te = date("Y-m-d H:i:s", $meetingstarttime);
$secondsDiff = $meetingstarttime - time();
$tr = date("Y-m-d H:i:s", $meetingendtime);
$secondsDiffr = $meetingendtime - time();

 

 

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.