Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- date_dob = getattr(model, value)
- tz=pytz.UTC
- date_dob =tz.localize(date_dob)
- print(date_dob)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement