DistillPrep
PythonGenAI
Coming Soon
SML System Design
NNLP
MMachine Learning
DDeep Learning
QDB & SQL
TDS & Statistics
OMLOps
CCloud (ML-focused)
Blog
P

Python Mastery

Curriculum Engine

Knowledge Tracks

Mastery Insight

"Focus on topics where you've failed edge-case questions. MAANG interviewers look for conceptual depth, not speed."

Live Engine
Select Topic
easyDate And Time

A developer prints datetime.now() and datetime.utcnow() on a machine set to IST (UTC+5:30). What does each return, and what critical information does the output hide?

Code
from datetime import datetime

local = datetime.now()
utc   = datetime.utcnow()

print(local)
print(utc)
print(local.tzinfo)
print(utc.tzinfo)
Progress0%
0 of 401 concepts cleared
Accuracy
0%
Solved
0

Question Index

Interview Tips

  • 1.Concepts over memorization.
  • 2.Identify trade-offs in every solution.