🤑 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
  • Afrid Mondal
    Afrid Mondal
    9,509 Points

    Dark Sky API Issue

    Posted March 25, 2018 7:53pm by Afrid Mondal
    Afrid Mondal
    9,509 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    1 Answer

  • Jonathan Grieve
    MOD
    Jonathan Grieve
    Treehouse Moderator 91,254 Points

    [SOLVED] Exception: Cannot convert string type to JSON object

    Posted February 21, 2017 4:55pm by Jonathan Grieve
    Jonathan Grieve
    Treehouse Moderator 91,254 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    2 Answers

  • Julie Pham
    Julie Pham
    12,290 Points

    formatter.setTimeZone(TimeZone.getTimeZone(getTimeZone()));

    Posted December 6, 2016 6:48pm by Julie Pham
    Julie Pham
    12,290 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    1 Answer

  • dlpuxdzztg
    dlpuxdzztg
    8,243 Points

    Quick question.

    Posted July 5, 2016 8:21pm by dlpuxdzztg
    dlpuxdzztg
    8,243 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    1 Answer

  • Rifqi Fahmi
    Rifqi Fahmi
    23,164 Points

    can we just get the time from user phone ??

    Posted May 27, 2016 3:16am by Rifqi Fahmi
    Rifqi Fahmi
    23,164 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    1 Answer

  • yotam laor
    yotam laor
    1,319 Points

    JSON Exception caught

    Posted January 29, 2016 12:50pm by yotam laor
    yotam laor
    1,319 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    1 Answer

  • Mike Hansen
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Mike Hansen
    Python Web Development Techdegree Student 3,419 Points

    The time is shown as e.m. instead of AM ?

    Posted January 3, 2016 8:37pm by Mike Hansen
    .a{fill-rule:evenodd;}techdegree
    Mike Hansen
    Python Web Development Techdegree Student 3,419 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    5 Answers

  • Axel Myren
    PLUS
    Axel Myren
    Courses Plus Student 705 Points

    I get an error when running the app.

    Posted August 11, 2015 12:48pm by Axel Myren
    Axel Myren
    Courses Plus Student 705 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    0 Answers

  • ziv brodie
    ziv brodie
    1,348 Points

    How do I fix this error?

    Posted July 21, 2015 7:04am by ziv brodie
    ziv brodie
    1,348 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    2 Answers

  • Dimitris Rousis
    Dimitris Rousis
    3,129 Points

    Erron JSONOBject

    Posted July 8, 2015 3:03pm by Dimitris Rousis
    Dimitris Rousis
    3,129 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    0 Answers

  • Unsubscribed User
    Unsubscribed User
    3,268 Points

    Can someone help?

    Posted May 24, 2015 9:35pm by Unsubscribed User
    Unsubscribed User
    3,268 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    0 Answers

  • Thomas Mc Gauran
    Thomas Mc Gauran
    436 Points

    Just wondering how to change the location of the JSON Timezone? I know that Forecast use the default "America/New_York".

    Posted April 27, 2015 3:05pm by Thomas Mc Gauran
    Thomas Mc Gauran
    436 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    1 Answer

  • James Lowry
    James Lowry
    7,975 Points

    Unreachable statement JSONObject currently = forecast.getJSONObject("currently");

    Posted April 8, 2015 3:24am by James Lowry
    James Lowry
    7,975 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    3 Answers

  • imran esmail
    imran esmail
    1,464 Points

    Need help understanding getFormattedTime

    Posted March 30, 2015 11:22pm by imran esmail
    imran esmail
    1,464 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    2 Answers

  • Mukul Gupta
    Mukul Gupta
    8,760 Points

    StringBuffer

    Posted March 16, 2015 6:21am by Mukul Gupta
    Mukul Gupta
    8,760 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    1 Answer

  • richard maxon
    richard maxon
    3,089 Points

    date formatter: weather app

    Posted February 22, 2015 12:20pm by richard maxon
    richard maxon
    3,089 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    10 Answers

  • Tom Latham
    Tom Latham
    2,591 Points

    Timezone not working

    Posted February 5, 2015 8:45pm by Tom Latham
    Tom Latham
    2,591 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Cleaning Up the Date and Time

    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.