R/time_now_utc.R

Defines functions time_now_utc

Documented in time_now_utc

#' time_now_utc
#'
#'
#' @return the current UTC POSIXct timestamp
#'
#' @importFrom lubridate with_tz
#'
#' @export
#'
time_now_utc <- function() {
  lubridate::with_tz(Sys.time(), tzone = "UTC")
}
Tychobra/polishedapi documentation built on July 19, 2020, 11:41 p.m.