Forums
This topic is locked
Calendar 2 , Timepicker & Timestamp
Posted 12 Sep 2012 07:26:01
1
has voted
12 Sep 2012 07:26:01 Morgan FORGES posted:
Hello,I use Calendar2 & TimePicker, I need the value of the field is the timestamp, so that I record in my db
how?
thank you
<input class="dmxCalendar2" name="dmxCalendar21" id="dmxCalendar21" /> <script type="text/javascript"> // <![CDATA[ jQuery(document).ready( function() { jQuery("#dmxCalendar21").dmxCalendar2( {"dateFormat": "dd/mm/yy", "altField": "hidden_dmxCalendar21", "altFormat": "yy-mm-dd", "condFormat": "dd-day", "condDates": [], "firstDay": 1, "showOn": "both", "duration": "slow", "showOptions": {"direction": "up", "easing": "swing"}, "yearRange": "c-10:c+10", "extensions": ["DMXzoneTimepicker"]} ); } ); // ]]> </script> <input name="hidden_dmxCalendar21" type="hidden" id="hidden_dmxCalendar21" value="" />