www.webdeveloper.com
Results 1 to 2 of 2

Thread: Identification Near Tming

  1. #1
    Join Date
    May 2013
    Posts
    1

    Identification Near Tming

    Hi All,
    this is a Javascript doubt.

    I have 5 timings as follows:
    9:00 AM
    11:00 AM
    5:30 AM
    5:00 PM
    3:30 PM
    7:00 PM

    and current timing is 1:30 PM

    I want to find which one is near to this timing..Please provide me with the code.

    Thanks In Advance
    Lakshmipathi V

  2. #2
    Join Date
    May 2006
    Location
    Somewhere behind your screen
    Posts
    1,655
    i'm not sure that this is the best coding example, but it seems working. hope somebody will improve this code...

    live demo

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles