This course will teach you how to handle Date and Time in PHPMaker 2022.
As we have already known, PHPMaker 2022 starts to use auto locale settings by native PHP Intl extension and JavaScript Intl object. We will learn about this new things in this course.
We will learn about Locale Settings under Tools menu in our PHPMaker 2022 project; especially the one that related to Date/Time settings.
PHPMaker 2022 also uses TempusDominus 6 that supports Bootstrap 5 to display DateTime picker in the generated web applications. There are some changes and new features in it.
We will learn how to add an option to a DateTime field by using the Tempus Dominus Date/Time Picker extension from Tools -> Extensions -> Type : Date/Time Picker -> @phpmaker/datetimepicker.
We will also learn how to validate/calculate date by writing jQuery code in Startup Script under Client Scripts. In addition, we will learn how to validate/calculate date by writing PHP code in some Server Events.
After taking this course, you should be able to implement Date/Time logic for your generated web applications simply from your PHPMaker 2022 projects.
Course Instructor
All Courses Lifetime
Pay USD 450, you will get access to all courses lifetime.
This Course Lifetime
Pay USD 69, you will get access to this course lifetime.
All Courses Subscription
Pay USD 150, you will get access to all courses for one year. After one year, you will have to pay USD 150 for next one year access to all courses.
Introduction
This lesson will explain you in more detail what PHP Intl extension is.
This lesson will explain what Javascript Intl object is.
Locale Settings
This lesson will teach you how to customize the locale settings in PHPMaker 2022 project. There are some directives were added into this Locale settings that you need to know.
This lesson will teach you what is the difference between HH:mm and hh:mm in Locale Settings of PHPMaker 2022 project.
PHPMaker Extensions
This lesson will teach you how to disable the previous dates from DateTime Picker extension in PHPMaker 2022 project.
This lesson will teach you how to display the Today button globally in DateTimePicker Extension that used by PHPMaker 2022.
This lesson will teach you how to display the Clear and Close buttons globally in DateTimePicker extension of PHPMaker 2022.
This lesson will teach you how to make Monday as the first day in Calendar of DateTimePicker Extension of PHPMaker 2022. We will also implement it globally.
This lesson will teach you how to include the similar settings globally from DateTimePicker extension of PHPMaker 2022 project.
This lesson will teach you how we can define maximum date in DateTimePicker extension of PHPMaker 2022 by assigning maxDate option.
This lesson will teach you how to make globally 4-digits year in title section of DateTimePicker extension of PHPMaker 2022. By default, the year will be displayed in 2-digit. We will change it become 4-digit.
Client Scripts
This lesson will teach you how to prevent previous dates to be saved from client-side of PHPMaker 2022. Let’s say today is 2022/04/03, then end-users cannot choose 2022/04/02, 2022/04/01, 2022/03/31, and so forth.
This lesson will teach you how to add a number of days to the Date data type, and then display the new Date afterwards. For example, the Begin Date is 2022/04/03, we input 33 as the number of days, then the End Date will automatically filled-in with 2022/05/06.
This lesson will teach you how to add a number of minutes to Time data type using Javascript. For example, the Begin Time is 08:15, and we want the time will be added with 125 minutes, then the End Time will automatically filled-in with 10:20.
Server Events
This lesson will teach you how to prevent end-users to save the previous dates in server-side of PHPMaker 2022.