title: Formatting a date in R without leading zeros
body: <p>Is there a way to use the <code>format</code> function on a date object, specifically an object of class <code>POSIXlt</code>, <code>POSIXct</code>, or <code>Date</code>, with the format <code>%Y, %m, %d</code> such that leading zeros are stripped from each of those 3 fields?</p>
  
  <p>For example, I would like <code>format(as.Date("1998-09-02"), "%Y, %m, %d")</code> to return <code>1998, 9, 2</code> and not <code>1998, 09, 02</code>.</p>