I need to reformat a string which represents the date from DD/MM/YYYY to YYYY/DD/MM. I thought the best way to do this would be to : Declare 3 variables day, month and year.