Page 1 of 1
Forum times!
Posted: Sat Jul 10, 2010 5:54 pm
by attacker5
Hey,
I was just wondering how one whould go about posting a time in a post that will automatically convert to the viewers local timezone time?
Iv been searching but dont seem to find anything, help whould really be appreciated.
Thanks.

Re: Forum times!
Posted: Sat Jul 10, 2010 5:59 pm
by rideblue56
user control panel> Board preferences> "My timezone" : select your timezone.
Re: Forum times!
Posted: Sat Jul 10, 2010 6:03 pm
by yzmxer608
I think he means something like this:
http://mxsimulator.com/benchracing3/vie ... f=1&t=5158. Not sure how it works though (I quoted it to see the code but I can't figure it out).
Re: Forum times!
Posted: Sat Jul 10, 2010 10:59 pm
by jlv
The number in the date tag is
Unix time. Basically it's seconds since January 1, 1970 UTC. You can use
this to convert to it.
This date:
Was made with this code:
Re: Forum times!
Posted: Sun Jul 11, 2010 6:33 am
by attacker5
ok thats cool, but will that time automatically change depending on the viewers (the person viewing the post) timezone?
Thnaks
Re: Forum times!
Posted: Mon Jul 12, 2010 2:23 am
by jlv
It should, but it depends on the user's clock being set correctly.
Re: Forum times!
Posted: Mon Jul 12, 2010 7:45 am
by attacker5
Ok thanks alot for all the help.
