Jump to content

php date


Recommended Posts

Hmm can someone tell me how to put different time then server time?


I found this:




That set's default timezone, but how can i make it show user's time? :lol:

Link to comment
Share on other sites

  • Management

For example in IPB they use the function gmdate() and then they add the users time zone choice (if not set they use the default time zone set in the board)


gmdate() returns the time based on GMT, have a look at the function get_date() in sources/ipsclass.php :lol:

Board Rules - Available Products - Need a Custom Work?


< Don't PM me for support, post in the forum or submit a ticket from the client area instead! >

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.