Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4707 Prikazi

<field name="booking_date" /> 

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

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

Avatar
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
jun. 25
1106
1
jan. 25
17978
1
jan. 20
3971
1
dec. 19
6403
1
dec. 19
17281