Hello,
I built a form where my visitor can schedule appointment. I want my system to show them the time that posible to schedule but with GMT+2.
meaning, if I set time between 2 and 4, so visitor in France will see 6-8 (because there is 4 hour different between my country and France.
How can I print the local time according GMT+2 ?
Print admin time
Moderator: General Moderators
Re: Print admin time
date_default_timezone_set
Then anytime you use a function like date() it'll give the numbers based on that timezone.
Then anytime you use a function like date() it'll give the numbers based on that timezone.