Skip to Content
Menu
This question has been flagged
1 Reply
3254 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 24
16296
1
Jan 20
2545
1
Dec 19
4563
1
Dec 19
15674
3
Apr 18
4097