rex.utilities.utilities.parse_date_int

parse_date_int(s)[source]

Parse data parameters from an integer or string of format YYYYMMDD

Parmeters

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.