R/NOW.R

Defines functions NOW

Documented in NOW

# NOW Function from Excel
#' Basic NOW function from excel
#'
#' It acts similiarly to Excel's NOW function. It gives the system time in character format.
#'
#' @import base
#' @export
#' @examples
#' NOW()
#' @return As the function has no arguments it simply returns current system time in character format. Function will always return character class.

NOW <-
function(){
  format(Sys.time(),"%Y-%m-%d %H:%M")
}

Try the ExcelFunctionsR package in your browser

Any scripts or data that you put into this service are public.

ExcelFunctionsR documentation built on July 1, 2020, 8:35 p.m.