www.webdeveloper.com
Results 1 to 2 of 2

Thread: string to time

  1. #1
    Join Date
    Apr 2011
    Posts
    20

    string to time

    what is the function to convert a string x="04:30" to time format
    thanks

  2. #2
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    Quote Originally Posted by wiss.dev View Post
    what is the function to convert a string x="04:30" to time format
    thanks
    Into a date format, yes. it is the Date() native JavaScript object/method

    So that you should also specify the date. A construction like hours:minutes has no meaning outside a certain date.

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