跳至内容
菜单
此问题已终结
1 回复
4702 查看

<field name="booking_date" /> 

this field is showing date like ----- 12/27/2022

i want this in ---- 27/12/2022 formate

形象
丢弃
最佳答案

Hi,

Try like below.

<field name="date_deadline" eval="DateTime.today().strftime('%Y-%m-%d %H:%M')"/>


Use the strftime() function and put the format.

Regards

形象
丢弃
相关帖文 回复 查看 活动
3
6月 25
1105
1
1月 25
17977
1
1月 20
3969
1
12月 19
6402
1
12月 19
17280