I am wondering what the best way to convert date time format "1/22/20" into "2020-01-22". I tried DateTime.(d1.date, "m/d/y") and I feel I was missing something in the output. Any suggestion?
julia> first(d1, 10)
10×2 DataFrame
Row │ date value
│ String Int64
─────┼────────────────
1 │ 1/22/20 1
2 │ 1/23/20 1
3 │ 1/24/20 2
4 │ 1/25/20 2
5 │ 1/26/20 5
6 │ 1/27/20 5
7 │ 1/28/20 5
8 │ 1/29/20 6
9 │ 1/30/20 6
10 │ 1/31/20 8
julia> DateTime.(d1.date, "m/d/y")
519-element Vector{DateTime}:
0020-01-22T00:00:00
0020-01-23T00:00:00
0020-01-24T00:00:00
0020-01-25T00:00:00
0020-01-26T00:00:00
0020-01-27T00:00:00
0020-01-28T00:00:00
0020-01-29T00:00:00
0020-01-30T00:00:00
0020-01-31T00:00:00
0020-02-01T00:00:00
0020-02-02T00:00:00
0020-02-03T00:00:00