Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord