Server IP : 150.95.80.236 / Your IP : 3.143.247.50 Web Server : Apache System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : social-telecare ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/pcu.in.th/sc.pcu.in.th/assets/js/custom/documentation/forms/ |
Upload File : |
"use strict";var KTFormsDaterangepickerDemos={init:function(t){$("#kt_daterangepicker_1").daterangepicker(),$("#kt_daterangepicker_2").daterangepicker({timePicker:!0,startDate:moment().startOf("hour"),endDate:moment().startOf("hour").add(32,"hour"),locale:{format:"M/DD hh:mm A"}}),$("#kt_daterangepicker_3").daterangepicker({singleDatePicker:!0,showDropdowns:!0,minYear:1901,maxYear:parseInt(moment().format("YYYY"),10)},(function(t,e,a){var r=moment().diff(t,"years");alert("You are "+r+" years old!")})),function(t){var e=moment().subtract(29,"days"),a=moment();function r(t,e){$("#kt_daterangepicker_4").html(t.format("MMMM D, YYYY")+" - "+e.format("MMMM D, YYYY"))}$("#kt_daterangepicker_4").daterangepicker({startDate:e,endDate:a,ranges:{Today:[moment(),moment()],Yesterday:[moment().subtract(1,"days"),moment().subtract(1,"days")],"Last 7 Days":[moment().subtract(6,"days"),moment()],"Last 30 Days":[moment().subtract(29,"days"),moment()],"This Month":[moment().startOf("month"),moment().endOf("month")],"Last Month":[moment().subtract(1,"month").startOf("month"),moment().subtract(1,"month").endOf("month")]}},r),r(e,a)}(),$("#kt_daterangepicker_5").daterangepicker()}};KTUtil.onDOMContentLoaded((function(){KTFormsDaterangepickerDemos.init()}));