I am trying to create a program that allows you to enter any time of the day you want. Then I am trying to edit that time, either by adding or subtracting hours, minutes, seconds, or milliseconds. I started on it by every time I run the program I get an error, "When casting from a number, the value must be a number less than infinity." and error details "{"Conversion from string "2" to type 'Date' is not valid."}"
If someone can give me a different way to approach it or any ideas that would be great. Thank you.
If someone can give me a different way to approach it or any ideas that would be great. Thank you.