Hello,
I want to write current datetime in excel report using pythons xlwt package.
But it shows the time in UTC format rather than my local timezone. So please help me to solve this problem.
Thanks in advance for your help!!!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I want to write current datetime in excel report using pythons xlwt package.
But it shows the time in UTC format rather than my local timezone. So please help me to solve this problem.
Thanks in advance for your help!!!
Hello Jinesh
you can use below code for get current datetime in excel report.
datetime.strftime(datetime.now(), "%d-%m-%Y")
sheet.write(3, 1, str(date.today()))
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
cze 23
|
4241 | ||
How to process the binary field in odoo8?
Rozwiązane
|
|
2
mar 17
|
4508 | |
|
3
cze 25
|
7949 | ||
|
0
kwi 24
|
1716 | ||
|
4
lis 23
|
5713 |