Detect day of week, time of day, and return a statement

Discussion in 'JavaScript' started by chndler bing, Sep 2, 2010.

  1. #1
    I'm trying to set up an embedded system onto my web page. I would like it to detect if it is Saturday or Sunday, and if it is, then find out if it's between the hours of 9 AM central to 5 PM central. If it fits both of those categories, I'd like it to automatically return a statement. If it is any other time, I'd like to return a different statement. :confused:
     
    Last edited: Sep 2, 2010
    chndler bing, Sep 2, 2010 IP
  2. tdemetri

    tdemetri Peon

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    tdemetri, Sep 2, 2010 IP