Menu
I’ve got PHP INI file make my PHP time setting my local timezone.
I’m adding rows to a database including a added timestamp.
I’m now wanting to retrieve records from my database entered yesterday. My SQL server time is US Central time. Not my php timezone.
Do I have to work out the start of yesterday in PHP time stamp and add that to my query or can I do this in a SQL command without doing so.