Eggzorcist Posted August 18, 2009 Share Posted August 18, 2009 Is date() the user's date from his PC or is it taken from the server? How about time() too? Thanks Link to comment https://forums.phpfreaks.com/topic/170882-solved-server-date-and-server-time/ Share on other sites More sharing options...
rhodesa Posted August 18, 2009 Share Posted August 18, 2009 Both are based on the Server's date/time Link to comment https://forums.phpfreaks.com/topic/170882-solved-server-date-and-server-time/#findComment-901271 Share on other sites More sharing options...
Eggzorcist Posted August 18, 2009 Author Share Posted August 18, 2009 And if I'm doing something like date("Y-m-d") how can make that date 5 days later than it actually is? And how would it react with the month's field if the day is the 30th or 29th with the + 5? thanks Link to comment https://forums.phpfreaks.com/topic/170882-solved-server-date-and-server-time/#findComment-901286 Share on other sites More sharing options...
Eggzorcist Posted August 18, 2009 Author Share Posted August 18, 2009 I've figured it out, thanks Link to comment https://forums.phpfreaks.com/topic/170882-solved-server-date-and-server-time/#findComment-901291 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.