Created
July 25, 2020 16:09
-
-
Save vnegi10/0983cdb7a6270dea376e29421230dd99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
date_strings = names(data_df)[5:end]; # read dates from the column names | |
format = Dates.DateFormat("m/d/y") # specify given format | |
x = parse.(Date, date_strings, format) .+ Year(2000) # Year(2000) converts year from 0020 to 2020 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment