Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
System Design
Get Certified
Blog
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
How is aware datetime timezone conversion done in Python?
Auto Skip
Report Issue
A.
astimezone() converts aware datetime; localize()/replace(tzinfo) needed for naive
B.
astimezone() also works for naive datetime
C.
Timezone conversion is not possible in Python
D.
replace(tzinfo=...) is always safer than astimezone()
Previous
Next