now

0th

Percentile

The current time

The current time

Keywords
utilities, chron
Usage
now(tzone = "")
Arguments
tzone
a character vector specifying which time zone you would like the current time in. tzone defaults to the system time zone set on your computer.
Value

  • the current date and time as a POSIXct object

Aliases
  • now
Examples
now()
now("GMT")
now() == now() # would be true if computer processed both at the same instant
now() < now() # TRUE
now() > now() # FALSE
Documentation reproduced from package lubridate, version 1.2.0, License: GPL

Community examples

Looks like there are no examples yet.