Date.prototype.addHours = function(h) {
this.setTime(this.getTime() + (h*60*60*1000));
return this;
}
var currDate = new Date().addHours(5); // 5 is the hours
$('#fromDate').daterangepicker({
minDate: currDate,
timePicker: true,
singleDatePicker: true,
timePickerIncrement: 1,
format: 'DD/MM/YYYY hh:mm A'
});
Monday, 10 April 2017
Daterangepicker set min time
Subscribe to:
Comments (Atom)
Git merge branch to another branch
$ git checkout develop $ git pull $ git checkout test-branch $ git merge develop $ git push
-
Netlify Porter Railway Render fly.io clever-cloud.com vercel
-
Social Recap TheNextWeb.com Wired.com Tech2.com Gizmodo.com TheVerge.com DigitalTrends.com Mashable.com TechRadar.com Technorati.com
-
/* ValidIpAddressRegex = "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$...