Forum times!

Post anything about MX Simulator here. Please. I'm begging you.
Post Reply
attacker5
Posts: 2226
Joined: Tue Aug 18, 2009 8:53 pm
Team: Ub e moh tow

Forum times!

Post 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. :mrgreen:
rideblue56
Posts: 3261
Joined: Thu May 21, 2009 6:03 pm
Team: FSK
Location: Virginia, USA

Re: Forum times!

Post by rideblue56 »

user control panel> Board preferences> "My timezone" : select your timezone.
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: Forum times!

Post 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).
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
jlv
Site Admin
Posts: 15336
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Forum times!

Post 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:

Code: Select all

[date]1279245600[/date]
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
attacker5
Posts: 2226
Joined: Tue Aug 18, 2009 8:53 pm
Team: Ub e moh tow

Re: Forum times!

Post by attacker5 »

ok thats cool, but will that time automatically change depending on the viewers (the person viewing the post) timezone?
Thnaks
jlv
Site Admin
Posts: 15336
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Forum times!

Post by jlv »

It should, but it depends on the user's clock being set correctly.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
attacker5
Posts: 2226
Joined: Tue Aug 18, 2009 8:53 pm
Team: Ub e moh tow

Re: Forum times!

Post by attacker5 »

Ok thanks alot for all the help. :D
Post Reply