What code have you tried so far? If you are just given a time and no date, you would have to either assume today’s date or pick another date for the time to be able to convert into a date/time. Would you ever have a time like 00:15 and need to subtract 35 minutes from it, so the date would actually become the day before?