i have jquery date function shows output july 09 2012. want change string value long value 1335363564815, e.g. milliseconds. how can this?
this code calender:
<script type="text/javascript"> $('#date2').jdpicker({date_format:"ff dd yyyy"}); </script> i use plugin: jquery.jdpicker.js
you can
var milliseconds = date.parse($('#date2').val()); parses string representation of javascript date, , returns number of milliseconds
Comments
Post a Comment