R/datetime.R
as.UTC.Rd
Force Time as UTC
as.UTC(x, ...) # S3 method for class 'data.frame' as.UTC(x, ...) # S3 method for class 'POSIXct' as.UTC(x, ...) # Default S3 method as.UTC(x, ...)
a vector of datetime values
not used at the moment
Sys.time() #> [1] "2024-11-18 11:39:00 UTC" as.UTC(Sys.time()) #> [1] "2024-11-18 11:39:00 UTC"