I have a string date like :
This date is in
BST timezone and I need to compare this date with today date. I am french so it's
UTC + 1.
What's the solution ? If I add one hour to my BST date, it is correct ? Do I need to convert
BST to UTC + 1, or
UTC + 1 to BST ?
For now I retrieve today like :
$today = date("Y-m-d H:i:s");, and I compare my two dates like :
if(date('Y-m-d H:i:s', strtotime($myBstDate)) >= $today)
For me it is wrong, there is an offset of one hour.
What's the correct way ? Thanks !