Skip to Content
Menu
This question has been flagged
1 Reply
4181 Views

<field name="booking_date" /> 

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

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
1
Jan 25
17075
1
Jan 20
3316
1
Dec 19
5448
1
Dec 19
16487
3
Apr 18
4593