Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4739 Vistas

<field name="booking_date" /> 

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

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

Avatar
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
jun 25
1126
1
ene 25
17983
1
ene 20
3978
1
dic 19
6415
1
dic 19
17288