How Do I Have my Program Accept a Negative Year as Valid
Show older comments
I am creating a time calculator game to learn how to code and am running into trouble when I input a negative year. How can I program a time calculator that recognizes this negative year as BCE while not displaying an invalid message? I
Answers (1)
Categories
Find more on Dates and Time in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!