format()
in R does not have an obvious option to display the month without leading 0 (and the same with the year). Is there another way to get this result? The solution should allow the user to flexibly choose whether 0s are to be omitted only for the day or the month or the year or for any combination.
in: as.Date("2005-09-02")
out: 2/9/5
or 0 only removed for month:
out: 2/9/05