✨ 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)
    • Dates and Times
    • Far Away
    • Close
  • Kenneth Bagwell Jr
    Kenneth Bagwell Jr
    3,698 Points

    not sure where I'm going wrong here

    Posted on Apr 6, 2023 by Kenneth Bagwell Jr
    Kenneth Bagwell Jr
    3,698 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Ava Jones
    Ava Jones
    10,767 Points

    TypeError: far_away() missing 1 required positional argument: 'timedelta'

    Posted on Oct 11, 2022 by Ava Jones
    Ava Jones
    10,767 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    2 Answers

  • daniel refael
    daniel refael
    1,679 Points

    I do not understand what I am doing here wrong

    Posted on Mar 30, 2022 by daniel refael
    daniel refael
    1,679 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Ehor Stashchyshyn
    Ehor Stashchyshyn
    5,201 Points

    whats wrong with this code?

    Posted on Jan 30, 2022 by Ehor Stashchyshyn
    Ehor Stashchyshyn
    5,201 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • Ehor Stashchyshyn
    Ehor Stashchyshyn
    5,201 Points

    Im little confused, why do it says me that my code gives incorrect time? Its give correct one, i have tested

    Posted on Jan 30, 2022 by Ehor Stashchyshyn
    Ehor Stashchyshyn
    5,201 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • Robert Popescu
    Robert Popescu
    1,341 Points

    What am I supposed to do?

    Posted on Sep 27, 2021 by Robert Popescu
    Robert Popescu
    1,341 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • Tanzila Rafeeq
    Tanzila Rafeeq
    2,936 Points

    Please give me help

    Posted on Sep 16, 2021 by Tanzila Rafeeq
    Tanzila Rafeeq
    2,936 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • sophiawong
    sophiawong
    9,104 Points

    May I ask what's wrong in the code, please?

    Posted on Sep 16, 2021 by sophiawong
    sophiawong
    9,104 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • matthew mahoney
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    matthew mahoney
    Python Development Techdegree Student 2,536 Points

    Challange not loading... did I do it right?

    Posted on Apr 29, 2021 by matthew mahoney
    .a{fill-rule:evenodd;}techdegree
    matthew mahoney
    Python Development Techdegree Student 2,536 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Unashe Mutambashora
    Unashe Mutambashora
    3,433 Points

    Passing timedelta through an argument

    Posted on Sep 2, 2020 by Unashe Mutambashora
    Unashe Mutambashora
    3,433 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    0 Answers

  • Amelia Nakimuli
    Amelia Nakimuli
    6,636 Points

    Passing a time delta as an argument

    Posted on Jun 24, 2020 by Amelia Nakimuli
    Amelia Nakimuli
    6,636 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Emily Strobl
    Emily Strobl
    5,429 Points

    What am I doing wrong?

    Posted on Sep 24, 2019 by Emily Strobl
    Emily Strobl
    5,429 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    3 Answers

  • BLESSING TASHINGA GURENJE
    BLESSING TASHINGA GURENJE
    5,793 Points

    help here please

    Posted on Nov 11, 2018 by BLESSING TASHINGA GURENJE
    BLESSING TASHINGA GURENJE
    5,793 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    5 Answers

  • Sunil Padmanabhan
    Sunil Padmanabhan
    1,344 Points

    Did understand the Objective of the task

    Posted on Oct 28, 2018 by Sunil Padmanabhan
    Sunil Padmanabhan
    1,344 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • igor corrales
    igor corrales
    2,474 Points

    Problem with timedelta, can anyone help me please ?

    Posted on Aug 9, 2018 by igor corrales
    igor corrales
    2,474 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • pierreilyamukuru
    pierreilyamukuru
    9,831 Points

    Far Away timedelta Challenge

    Posted on Jun 7, 2018 by pierreilyamukuru
    pierreilyamukuru
    9,831 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • Andrei Oprescu
    Andrei Oprescu
    9,547 Points

    can you tell me what i am doing wrong?

    Posted on Feb 4, 2018 by Andrei Oprescu
    Andrei Oprescu
    9,547 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • Khaleel Yusuf
    Khaleel Yusuf
    15,208 Points

    Write a function called far_away that takes one argument, a timedelta. Add that timedelta to datetime.datetime.now() and

    Posted on Dec 28, 2017 by Khaleel Yusuf
    Khaleel Yusuf
    15,208 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Bar Kamhine
    Bar Kamhine
    434 Points

    Function- Far_away

    Posted on Nov 28, 2017 by Bar Kamhine
    Bar Kamhine
    434 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    0 Answers

  • Alexander Bilton
    Alexander Bilton
    1,982 Points

    "Far_away" - Returning datetime.datetime.now() + timedelta

    Posted on Dec 3, 2016 by Alexander Bilton
    Alexander Bilton
    1,982 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • MUZ140259 Juliana Kofi
    MUZ140259 Juliana Kofi
    9,532 Points

    timedelta

    Posted on May 31, 2016 by MUZ140259 Juliana Kofi
    MUZ140259 Juliana Kofi
    9,532 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • ross winters
    ross winters
    10,415 Points

    Quiz: datetime + timedelta addition example not passing("Bummer...") but works in offline workspace

    Posted on Feb 13, 2016 by ross winters
    ross winters
    10,415 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • Nina Kozlova
    Nina Kozlova
    11,602 Points

    local variable 'datetime' referenced before assignment

    Posted on Feb 5, 2016 by Nina Kozlova
    Nina Kozlova
    11,602 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • sidni ahmed
    sidni ahmed
    3,329 Points

    far_away function

    Posted on Jan 10, 2016 by sidni ahmed
    sidni ahmed
    3,329 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Af Mondal
    Af Mondal
    2,437 Points

    getting error on datetme return

    Posted on Jan 7, 2016 by Af Mondal
    Af Mondal
    2,437 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • Prabhath Pillai
    Prabhath Pillai
    2,740 Points

    Adding a timedelta - not sure what the issue is.

    Posted on Oct 16, 2015 by Prabhath Pillai
    Prabhath Pillai
    2,740 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    1 Answer

  • Liana Moleni
    Liana Moleni
    2,644 Points

    function called far_away challenge

    Posted on May 26, 2015 by Liana Moleni
    Liana Moleni
    2,644 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • MUZ140515 Herbert Chirwa
    MUZ140515 Herbert Chirwa
    2,589 Points

    stuck

    Posted on May 19, 2015 by MUZ140515 Herbert Chirwa
    MUZ140515 Herbert Chirwa
    2,589 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    1 Answer

  • Salomon Ngoy
    Salomon Ngoy
    531 Points

    Function

    Posted on Nov 20, 2014 by Salomon Ngoy
    Salomon Ngoy
    531 Points
    • Python
    • Dates and Times in Python
    • Dates and Times
    • Far Away

    2 Answers

  • Kevin Lozandier
    PLUS
    Kevin Lozandier
    Courses Plus Student 53,747 Points

    Python far_away challenge seemingly does not provide enough context on the datetime being considered by the challenge.

    Posted on Nov 12, 2014 by Kevin Lozandier
    Kevin Lozandier
    Courses Plus Student 53,747 Points
    • Python
    • Dates and Times in Python (2014)
    • Dates and Times
    • Far Away

    10 Answers

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.