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")
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
2
de juny 23
|
5906 | |||
|
2
de març 17
|
6415 | |||
|
0
de juny 26
|
579 | |||
|
0
de juny 26
|
1 | |||
|
0
de maig 26
|
1 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.