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,
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")
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
2
jun. 23
|
5903 | |||
|
2
mar. 17
|
6401 | |||
|
0
jun. 26
|
551 | |||
|
0
jun. 26
|
1 | |||
|
0
maj 26
|
1 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.