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 11 months ago by Kartik VHow-tos0 comments – viewed 3,495 times – ( +34 ) – 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 11 months ago by Kartik VHow-tos10 comments – viewed 20,549 times – ( +36 ) – 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.