Converting dates (Year - Month - Day) to 3 separate columns (Year , Month , Day)

2 posts were split to a new topic: help with "Error in as.POSIXlt.character(x, tz = tz(x)) : character string is not in a standard unambiguous format."