rex.utilities.utilities.parse_date_int

parse_date_int(s)[source]

Parse data parameters from an integer or string of format YYYYMMDD

sstr | int

Date string or integer of format YYYYMMDD

Returns

  • y (int) – Year integer parsed from input.

  • m (int) – Month integer parsed from input.

  • d (int) – Day integer parsed from input.