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

How can i get datetime now on qweb report

Avatar
Opusti
Best Answer

use: <span t-esc="datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')"/>

Avatar
Opusti
Avtor Best Answer

Thank you! This my code

<span t-esc="time.strftime('%Y-%m-%d %H:%M:%S'')"/> 
Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
dec. 17
15826
0
apr. 24
1852
0
jan. 24
1609
0
jan. 24
1296
4
nov. 23
5936