🤑 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

  • 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
  • Aizah Sadiq
    Aizah Sadiq
    2,435 Points

    start name

    Posted August 24, 2020 12:54am 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 December 4, 2019 7:51pm 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 October 13, 2017 7:23pm 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 August 4, 2017 2:48pm 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 March 6, 2017 12:18pm 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 March 6, 2017 11:27am 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 December 27, 2016 5:58am 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 November 29, 2016 9:19pm 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 November 14, 2016 10:25am 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 April 24, 2016 11:11pm 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 April 24, 2016 3:22pm 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 August 4, 2015 8:04pm 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 April 21, 2015 11:48pm 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 February 26, 2015 3:33pm 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 December 16, 2014 10:20am 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.