From ?strptime
:
‘%e’ Day of the month as decimal number (1-31), with a leading
space for a single-digit number.
so:
gsub("^ ", "" , format(date_time, "%e/%m/%Y %H:%M:%S"))
[1] "3/02/2012 00:10:09"
or
gsub("^0", "", format(date_time, "%d/%m/%Y %H:%M:%S"))
[1] "3/02/2012 00:10:09"