date_interval_create_from_date_string()
to Create an Interval from a Stringdate_interval_create_from_date_string()
to Create an Interval from a StringThe date_interval_create_from_date_string()
function creates a new date interval object from a string. This is useful for defining date intervals.