tfx.components.example_gen.utils.date_to_span_number

Calculated span from date as number of days since unix epoch.