DMXzone Timepicker Support Product Page
initial time
 Reported  05 Aug 2014  20:53:28 
  1 
     has   this problem  
  05 Aug 2014  20:53:28 Bart Garner posted: 
 When I click to change a date, instead of starting from the posted date, the picker reverts to today at 12:00 am.Would be more convenient if it stayed at the date and time in the database. Worked fine until I added Time to the picker.
[php] <div class="lineGroup"> <label for="close_date" class="sublabel" > Close Date:</label>
<input class="dmxCalendar2" name="close_date" id="close_date" value="<?php echo $row_WADAs_app_dates['close_date']; ?>"readonly="readonly" />
<script type="text/javascript">
// < .dmxCalendar2(
.dmxCalendar2({"timezone": "", "condDates": [], "showOn": "both", "changeMonth": true, "changeYear": true, "duration": "slow", "showOptions": {"direction": "up", "easing": "swing"}, "yearRange": "c-0:c+20", "constrainInput": true, "extensions": ["DMXzoneTimepicker"]}
);
}
);
// ]]>
</script>
</div>
[/php]
Replies
 Replied 06 Aug 2014  09:07:34 
   06 Aug 2014  09:07:34 Teodor Kuduschiev replied: 
  Please set the initial date option to the date/time you want it to appear when you open the calendar. Make sure your time is properly formatted also. If possible -please provide a link to your page. 
  