Reputation: 3384
Sample data
sasq=c(-5844, 0, 7121)
d2=as.Date(sasq, '1960-01-01')
>d2
"1944-01-01" "1960-01-01" "1979-07-01"
But I try to obtain:
"1/1944" "1/1960" "1/1970"
with just MONTH/YEAR and no lead zeros on month
Upvotes: 0
Views: 33