11-23-2016 01:14 PM
I have a character variable and it has two different formats for date:
How can I convert this inot single date format as 02/23/2016 for all the values.
11-23-2016 02:04 PM
If you only these two variations, then
data test; input dt anydtdte20.; format dt date9.; cards; 2016-02-23 02/23/2016 ;