If I have a time format string like "14:30:00" ("hours:minutes:seconds"), how do I get a DateInterval from the string?
I can get a DateTime:
$datetime= DateTime::createFromFormat("H:i:s","14:30:00");
But I need to add it to another DateTime object, and date_add needs a DateInterval.