Skip to content
Prev 317907 / 398503 Next

Converting the data in year month day hour and minutes to date

Hello,

Try the following.


x <- "2008-01-01 02:30"
as.POSIXct(x, format = "%Y-%m-%d %H:%M")


Hope this helps,

Rui Barradas

Em 19-02-2013 17:47, Janesh Devkota escreveu: