Bootstrap DateTimePicker some usage examples

The DateTimePicker plugin allows to you use the DateTime Picker, which is a Bootstrap form component to handle date, time and year data, on your forms.

Home page for the lib is https://github.com/smalot/bootstrap-datetimepicker and demo is at https://www.malot.fr/bootstrap-datetimepicker, where you can see example of use.

This QDateTime class takes care of converting the data to the correct format. Except for the YearPicker class, which converts a year to a numeric value.

Output the database through the QDateTime class in the datetime format:

Output the database through the QDateTime class in the date format:

Output the database through the QDateTime class in the time format:

Output the database through the YearPicker class in the year format: