Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

then combine those numbers into proper date variables. Print the results of these function calls to check exactly what they are returning before you try to convert them into date variables.

Info
The grib_get() functions are general-purpose functions to get pieces of meta-data from a GRIB field, specified by keys such as 'validityDate'. The Grib Examiner can help you find the available keys.

A list is built up like this:

...