Wiki

Articles tagged with "format"X
Displaying 1-2 of 2 result(s).

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

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

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

Created 7 months ago by Kartik VHow-tos10 comments – viewed 9,592 times – ( +28 ) – 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.