Jump to content

date on host


takn25

Recommended Posts

Hi, I just realised that date() function depends on where ever your hosting company is from. Is there any way to change this manually as I am from UK and the day changes early compared to where my hosting company is (USA).

 

The reason I want to know this because I have some functions where the user should only be allowed to choose the current date which I want to be according to GMT time.

 

Any help is much appreciated thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/232935-date-on-host/
Share on other sites

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.