Foser Posted January 31, 2008 Share Posted January 31, 2008 I'm trying to demonstrate the date exacly like date("Y"); although I want to take the year of the server. That way it won't be manipulatable by changing their computer time. thanks Quote Link to comment https://forums.phpfreaks.com/topic/88698-server-date-year/ Share on other sites More sharing options...
haku Posted January 31, 2008 Share Posted January 31, 2008 date("Y") IS the date on their server. PHP is a server-side language, so it can't directly read the time on the user's computer. Quote Link to comment https://forums.phpfreaks.com/topic/88698-server-date-year/#findComment-454266 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.