$(function() { $('.form-date').datetimepicker('setEndDate', today); })