Determining the Date and Time of Forecasted Conditions

  • 9
  • Question
  • Updated 8 years ago
I see that forecast queries appear to return both a <txt_forecast> and a <simpleforecast>. I've also noticed that the time periods between the two don't match (at least for the samples I've experimented with). In other words, the points in time in the <txt_forecast> are not the same as those in the simpleforecast.

Furthermore, I've noticed that there is no structured date/time for describing the <txt_forecast> <forecastday> elements. The only thing there is a 0-based <period> which might mean a 12-hour period but I'm not sure.

How do I determine what date/time a <txt_forecast>'s <forecastday> applies to?

Generally, is there any documentation on the schema/structure of the xml returned?
Photo of qbit3


  • 2 Posts
  • 0 Reply Likes

Posted 8 years ago

  • 9

Be the first to post a reply!