I know that the time(0)
function returns me the seconds from the first of January 1970, in which case the user would enter a date (dd-mm-yyyy or in any format due to system limitation) check which date is the oldest.
Are there libraries that work with this? What would be the best way to pass a date to the system to turn it into seconds?