I have a problem.
Suppose I have this type of time.
$date = strtotime($date);
I need this to be converted to the Unix-timestamp format, but an hour earlier. I tried
$date = strtotime($date-86400)
$date = strtotime($date-86400)
but it seemed to me that this was wrong. He returned 0 when I sneaked into the table.
How can this be achieved?
Thanks.
source share