date - How to represent time in JavaScript? -


html5 form input element provides way enter time. best way represent time in javascript object manipulated in similar way 1 can manipulate datetime objects moment.js? if use moment.js parse time, moment('12:13:14', 'hh:mm:ss'), added current date value. not possible know in fact object represents time. if later want work object, not know if date or time.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -