✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead
    • Close
  • Aizah Sadiq
    Aizah Sadiq
    2,435 Points

    start name

    Posted on Aug 24, 2020 by Aizah Sadiq
    Aizah Sadiq
    2,435 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    1 Answer

  • daniel steinberg
    daniel steinberg
    14,651 Points

    Attribute Error with PYTZ

    Posted on Dec 4, 2019 by daniel steinberg
    daniel steinberg
    14,651 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    1 Answer

  • Quinton Dobbs
    Quinton Dobbs
    5,149 Points

    Why not make apollo_13_eastern directly rather than make it naive then to eastern.

    Posted on Oct 13, 2017 by Quinton Dobbs
    Quinton Dobbs
    5,149 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    0 Answers

  • nicole lumpkin
    PLUS
    nicole lumpkin
    Courses Plus Student 5,328 Points

    Two ways of creating an aware datetime obj, what's the difference?

    Posted on Aug 4, 2017 by nicole lumpkin
    nicole lumpkin
    Courses Plus Student 5,328 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    1 Answer

  • Ullas Savkoor
    Ullas Savkoor
    6,028 Points

    Correction-localize method works only with naive datetime

    Posted on Mar 6, 2017 by Ullas Savkoor
    Ullas Savkoor
    6,028 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    1 Answer

  • Ullas Savkoor
    Ullas Savkoor
    6,028 Points

    Will pytz take into consideration of Daylight Savings time while giving localized datetime?

    Posted on Mar 6, 2017 by Ullas Savkoor
    Ullas Savkoor
    6,028 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    1 Answer

  • Ammar Fatihallah
    Ammar Fatihallah
    7,417 Points

    installing pytz in linux ubuntu

    Posted on Dec 27, 2016 by Ammar Fatihallah
    Ammar Fatihallah
    7,417 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    1 Answer

  • Mateo Rial
    Mateo Rial
    3,694 Points

    Sorry ... but I have no idea how to install PYTZ ...any help?

    Posted on Nov 29, 2016 by Mateo Rial
    Mateo Rial
    3,694 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    1 Answer

  • Igor Bochenek
    Igor Bochenek
    3,960 Points

    pytz.timezone I received this error when i was trying

    Posted on Nov 14, 2016 by Igor Bochenek
    Igor Bochenek
    3,960 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    2 Answers

  • Onur Salman
    Onur Salman
    3,612 Points

    Please help , I am trying to use Python 3 on mac El Capitan using Xcode

    Posted on Apr 24, 2016 by Onur Salman
    Onur Salman
    3,612 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    2 Answers

  • Maya Angelica Gurgiolo
    Maya Angelica Gurgiolo
    4,268 Points

    Installing pytz

    Posted on Apr 24, 2016 by Maya Angelica Gurgiolo
    Maya Angelica Gurgiolo
    4,268 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    3 Answers

  • MUZ140920 Kudakwashe Murungu
    MUZ140920 Kudakwashe Murungu
    6,316 Points

    Why .localize instead of .timezone

    Posted on Aug 4, 2015 by MUZ140920 Kudakwashe Murungu
    MUZ140920 Kudakwashe Murungu
    6,316 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    1 Answer

  • Elizabeth McInerney
    Elizabeth McInerney
    3,175 Points

    Actually, Use pytz Instead

    Posted on Apr 21, 2015 by Elizabeth McInerney
    Elizabeth McInerney
    3,175 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    3 Answers

  • Welby Obeng
    Welby Obeng
    20,340 Points

    how come the teacher didnt localize naive time zone and instead converted an eastern timezone

    Posted on Feb 26, 2015 by Welby Obeng
    Welby Obeng
    20,340 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    2 Answers

  • Charles Harpke
    Charles Harpke
    33,986 Points

    I am trying to install pytz locally and get a syntax error.

    Posted on Dec 16, 2014 by Charles Harpke
    Charles Harpke
    33,986 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • Actually, Use pytz Instead

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.