Hi all,
I'm trying to change the values of my string date variable to numeric date variable. Currently the format is like this:
12/03/23
12/01/23
11/30/23
11/28/23
I tried to use numdate to convert the values after removing the "/" using subinstr but (I think?) since the year value is 23 and not 2023, the numdate command isn't working.
Is there a way to convert the dates to numerics using numdate whilst only having the "23" for year or how can I add "20" in front of the "23"s for all values and use numdate after that?
I'm trying to change the values of my string date variable to numeric date variable. Currently the format is like this:
12/03/23
12/01/23
11/30/23
11/28/23
I tried to use numdate to convert the values after removing the "/" using subinstr but (I think?) since the year value is 23 and not 2023, the numdate command isn't working.
Is there a way to convert the dates to numerics using numdate whilst only having the "23" for year or how can I add "20" in front of the "23"s for all values and use numdate after that?
Comment