Skip to content
Prev 333802 / 398506 Next

date format

Hello,

Maybe something like the following.

dat <- data.frame(yyyy = 2011:2013, mm = 1:3, dd = 4:6)

apply(dat, 1, function(x) paste(rev(x), collapse = "."))


Hope this helps,

Rui Barradas

Em 28-11-2013 13:54, eliza botto escreveu: