plodos Posted February 20, 2008 Share Posted February 20, 2008 date("l dS of F Y h:i:s A"); this function is not showing the real time&date/current time&date. What must I write for see the current time/current date.. Quote Link to comment https://forums.phpfreaks.com/topic/92074-php-date-function/ Share on other sites More sharing options...
Psycho Posted February 20, 2008 Share Posted February 20, 2008 What IS the function showing? Is it shawing A time/date? Are you running this off a remote web server? If so, that server may very well be in a different time zone than you are. If you need the time to always be in YOUR time zone you will need to offset the current time accordingly. If you need the time to be in the USER'S time zone you would need to know that user's time zone in order to offset the time for each user. Quote Link to comment https://forums.phpfreaks.com/topic/92074-php-date-function/#findComment-471508 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.