Articles tagged with "time", sorted by commentsX
Displaying 1-5 of 5 result(s).

Local time zones and locales

Created 3 years ago by Russell EnglandHow-tos9 comments – viewed 48,216 times – ( +14 / -2 ) – version 1.1
Following on from international dates, I also wanted times in the local timezone and format. This was a little more tricky but I think I've got a solution. This is only really appropriate if you have an international app.

Date Picker by examples

Created 9 months ago by InterboyHow-tos4 comments – viewed 35,181 times – ( +9 / -2 )
CJuiDatePicker displays a datepicker. CJuiDatePicker encapsulates the JUI datepicker plugin.

Save and Display Date/Time Fields in different formats in Yii2

Created 2 months ago by Kartik VHow-tos4 comments – viewed 2,410 times – ( +24 ) – version 2.0
You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

Using the yii2-datecontrol extension along with yii2-detail-view widget

Created 2 months ago by Kartik VHow-tos0 comments – viewed 1,116 times – ( +25 ) – version 2.0
The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.

Model validation for field ranges using yii2-field-range extension

Created 2 months ago by Kartik VTips0 comments – viewed 1,074 times – ( +26 ) – version 2.0
The yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.