Skip to main content

🚀 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
  • 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
    Jonathan Grieve
    91,254 Points

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

    Posted February 21, 2017 4:55pm by Jonathan Grieve
    Jonathan Grieve
    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.

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