Skip to main content

Forums

This topic contains 4 replies, has 0 voices, and was last updated by  adhoc01 10 years, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23226

    adhoc01
    Member

    Hey,

    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

    #49725

    cybershot
    Participant

    This reply has been reported for inappropriate content.

    adding a time stamp to your cms can be as easy as this.

    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

    #49728

    adhoc01
    Member

    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.

    #49738

    cybershot
    Participant

    This reply has been reported for inappropriate content.

    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.

    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.

    #49739

    adhoc01
    Member

    @cybershot : Thanks a heap, a page full of answers. Should be able to bodge something out of that.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

icon-link icon-logo-star icon-search icon-star