コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4735 ビュー

<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
1121
1
1月 25
17982
1
1月 20
3977
1
12月 19
6415
1
12月 19
17285