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

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - JavaScript + Thymeleaf - select onchange -

node.js - Using Node without global install -