The addition of a set time
In the date picker code of my user-insert, I have:
<script type="text/javascript">
$(function(){
$('#datepicker_1').datepicker({
dateFormat: 'yy-mm-dd',
showAnim: 'show',
onClose: closeDatePicker_datepicker_1
});
});
</script>
I want to add a set time of 12:00:00 to the date so that I achieve a date time to the database.
Can this do it?
<script type="text/javascript">
$(function(){
$('#datepicker_1').datepicker({
dateFormat: 'yy-mm-dd 12:00:00',
showAnim: 'show',
onClose: closeDatePicker_datepicker_1
});
});
</script>
If not, is there a way to do it?
Thanks