timestamp with jquery datepicker -


i'm making web form uses dates in fields , used jquery datepicker plugin. in new update asking timestamps recorded.

i use below getting data, i'm unable know how timestamp.

$(function() {     $( "#daterec" ).datepicker({ dateformat: "d-m" }).val();  }); 

the expected time , date format should below.

04-apr 17:03:25 (hours in 24 format, minutes, seconds)

please let me know how can this.

thanks

you can adding timepicker jquery ui datepicker plugin : http://trentrichardson.com/examples/timepicker/


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -