Jump to content

How to get current datetime plus 24 hours?


blunder

Recommended Posts

So what if I have a specific date coming from a SQL Db, how do I turn it into a timestamp that I can play around with?

 

Lets say I have a value coming from the db called $datefromdb, how do I compare the date with current datetime and say how many hours/etc still to go before I reach that specific date?

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.