Add comment to script
Work with case where 'emissions_start_time_type' is date/time
Determine if the date/time string gives a POSIXct object
If the entered date passes validation, assign it
Add comment to script
Get the duration in hours, if supplied
Get the duration in days, if supplied
Discard obselete code
Adjust whitespace in script