Does anyone know of a javascript time zone plugin? (preferably for MooTools)
I want to add a blog roll to my cms system but I am struggling to find an accurate way to set a time stamp to them. Anyone got any thoughts or experiences on this?
yeah the issue with this is that its a date-stamp from the server and not the clients computer. So i was wanting some kind of javascript snippet to nicely list all the time zones and then I could make alterations from there. . .
Its no biggy as I could just manually edit the php.ini of the server - I just know if I leave it at this then my next project will be on someone's cheap ass server that wont let me change it.
well the same login applies. just google it. there are javascript methods that will find out the time from the users browser. It shouldn't be a very big program either. You might even find the same thing in php wich i think would be better. Look here.
Does anyone know of a javascript time zone plugin? (preferably for MooTools)
I want to add a blog roll to my cms system but I am struggling to find an accurate way to set a time stamp to them.
Anyone got any thoughts or experiences on this?
Thanks Ad
echo date("m/d/y",time())
just google time stamp. I did that and came up with this page
http://www.plus2net.com/php_tutorial/php_date_time.php
There should be enough info in there to get you what you need
Its no biggy as I could just manually edit the php.ini of the server - I just know if I leave it at this then my next project will be on someone's cheap ass server that wont let me change it.
Look here.
http://www.dynamicdrive.com/dynamicindex6/index.html
they have all kinds of free javascript stuff and they give really good instructions on how to make it work. I am sure they will have what you want.