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
  • GCPL Treehouse1
    GCPL Treehouse1
    6,054 Points

    Trouble with pytz Format Challenge not accepting Timezone

    Posted August 14, 2021 3:56pm by GCPL Treehouse1
    GCPL Treehouse1
    6,054 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    1 Answer

  • Jake Williams
    Jake Williams
    3,104 Points

    pytzstring.py

    Posted June 1, 2021 11:03pm by Jake Williams
    Jake Williams
    3,104 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    1 Answer

  • Aizah Sadiq
    Aizah Sadiq
    2,435 Points

    pytz format challenge task 2

    Posted August 27, 2020 8:49pm by Aizah Sadiq
    Aizah Sadiq
    2,435 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    2 Answers

  • Aizah Sadiq
    Aizah Sadiq
    2,435 Points

    Challenge

    Posted August 26, 2020 12:33am by Aizah Sadiq
    Aizah Sadiq
    2,435 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    1 Answer

  • Eldin Guzin
    Eldin Guzin
    6,010 Points

    pytz format challenge 2/2

    Posted July 2, 2020 7:41am by Eldin Guzin
    Eldin Guzin
    6,010 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    0 Answers

  • Damien Blasko
    Damien Blasko
    8,519 Points

    How can "local" be in the wrong timezone?

    Posted June 11, 2020 12:40am by Damien Blasko
    Damien Blasko
    8,519 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    1 Answer

  • Adam Vasik
    Adam Vasik
    11,702 Points

    Please help probably same mistake as the last time but can't find it :(

    Posted May 25, 2020 3:49pm by Adam Vasik
    Adam Vasik
    11,702 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    1 Answer

  • Ahmed Abdelhay
    Ahmed Abdelhay
    6,025 Points

    i don't know where is the problem?

    Posted April 19, 2019 2:42pm by Ahmed Abdelhay
    Ahmed Abdelhay
    6,025 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    1 Answer

  • Jason Smith
    Jason Smith
    8,668 Points

    this is really vexing, what am i doing wrong?

    Posted February 13, 2019 12:24am by Jason Smith
    Jason Smith
    8,668 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    2 Answers

  • Heidi Ulrich
    Heidi Ulrich
    4,624 Points

    Change datetime to Pacific timezone fails

    Posted September 6, 2017 10:35am by Heidi Ulrich
    Heidi Ulrich
    4,624 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    1 Answer

  • peter xiao
    peter xiao
    2,626 Points

    Bummer! name 'pytz_string' is not defined

    Posted June 27, 2017 9:09pm by peter xiao
    peter xiao
    2,626 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    1 Answer

  • hari shankar
    hari shankar
    5,100 Points

    pytz format

    Posted May 8, 2017 12:03pm by hari shankar
    hari shankar
    5,100 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    1 Answer

  • MUZ140259 Juliana Kofi
    MUZ140259 Juliana Kofi
    9,532 Points

    Pytz

    Posted June 1, 2016 9:50pm by MUZ140259 Juliana Kofi
    MUZ140259 Juliana Kofi
    9,532 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    1 Answer

  • Michael Steinman
    Michael Steinman
    11,012 Points

    install pytz

    Posted April 30, 2016 8:30pm by Michael Steinman
    Michael Steinman
    11,012 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    7 Answers

  • Loh Pin Hua
    Loh Pin Hua
    3,160 Points

    It just doesn't make sense!

    Posted March 7, 2016 1:18pm by Loh Pin Hua
    Loh Pin Hua
    3,160 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    3 Answers

  • Andrea Campos
    Andrea Campos
    4,743 Points

    What's wrong with my code?

    Posted October 18, 2015 8:50pm by Andrea Campos
    Andrea Campos
    4,743 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    1 Answer

  • Carina De Jager
    Carina De Jager
    1,779 Points

    Pytz

    Posted August 25, 2015 3:58am by Carina De Jager
    Carina De Jager
    1,779 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    1 Answer

  • Mar Bocatcat
    Mar Bocatcat
    7,405 Points

    Dates and Times in Python :(

    Posted August 15, 2015 2:37am by Mar Bocatcat
    Mar Bocatcat
    7,405 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    2 Answers

  • Ronnie Barua
    Ronnie Barua
    17,665 Points

    What am I doing wrong with Starter is a naive datetime?

    Posted January 15, 2015 4:22pm by Ronnie Barua
    Ronnie Barua
    17,665 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    4 Answers

  • Charles Harpke
    Charles Harpke
    33,986 Points

    starter is a naive datetime. Use pytz to make it a "US/Pacific" datetime instead and assign this converted datetime...

    Posted December 20, 2014 8:42pm by Charles Harpke
    Charles Harpke
    33,986 Points
    • Python
    • Dates and Times in Python
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    10 Answers

  • Chris Freeman
    Chris Freeman
    68,469 Points

    Can you provide an example a formated local string for this pytz format challenge?

    Posted November 16, 2014 11:17pm by Chris Freeman
    Chris Freeman
    68,469 Points
    • Python
    • Dates and Times in Python (2014)
    • Where on Earth do Timezones Make Sense?
    • pytz Format

    2 Answers

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