Ver originalonSelect: function (selectedDateTime){ var start = $(this).datetimepicker('getDate'); //Tu comparación junto a tu alert. }