答案 0 :(得分:0)
样本数据
created_at <- c(1549480813,1549480815,1549480818,1549480872)
代码
as.POSIXct( created_at, origin = "1970-01-01", tz = "Asia/Kolkata" )
**输出
#[1] "2019-02-07 00:50:13 IST" "2019-02-07 00:50:15 IST" "2019-02-07 00:50:18 IST" "2019-02-07 00:51:12 IST"