Adds parsing of the date argument on the command line