콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4766 화면

<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
1192
1
1월 25
18028
1
1월 20
3995
1
12월 19
6457
1
12월 19
17346