Fsoft Posted May 13, 2008 Share Posted May 13, 2008 Hi, I mostly use a funtion called date("r"); to get a detailed thing of my user, the date, time, Time zone etc... But when I use this and upload the file to the server, the file gives / prints/ writes the information of server / USA, not the users Help please Thanks FAISAL! Link to comment https://forums.phpfreaks.com/topic/105470-php-date-server-but-not-users/ Share on other sites More sharing options...
revraz Posted May 13, 2008 Share Posted May 13, 2008 It uses the timezone of the Server. PHP doesn't know the timezone of the user. You would have to use offset values or javascript to get it user based. Link to comment https://forums.phpfreaks.com/topic/105470-php-date-server-but-not-users/#findComment-540246 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.