So I am trying to calculate how long it will be until a specific time. ButI cant seem to get it working.
An example is say im trying to calculate how long it will be from now to 06:00:00am So say it is 10:30pm I want to see how long it will be until til 6am the next day. So the correct answer would be 7 hours and 30 mins. Or another example say it is 8:30pm I want to see how long it will be until 10pm. If anyone could provide me with some code to help it would be greatly appreciated!