SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Evangelist Alchemist's Avatar
    Join Date
    Aug 2006
    Posts
    412
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    U.S. markets close in......

    hello,

    does anyone know how I can get a "U.S. markets close in..." line to print on my financial website? I guess it's some javascript include or xml.....


    thanks

  2. #2
    SitePoint Evangelist Alchemist's Avatar
    Join Date
    Aug 2006
    Posts
    412
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any ideas? anyone?

  3. #3
    Twitter - @CarlBeckel busy's Avatar
    Join Date
    May 2004
    Location
    Richmond, VA, USA
    Posts
    819
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They close at 4PM EST right? Seems like all you need to do is grab the current time when you generate the page, do the math to see how much time is left, and then use javascript to make that value count down.

    Of course, you will need to watch out for holidays or other times when they may be closing early.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •