now {toscutil}R Documentation

Get Current Date and Time as string

Description

now returns current system time as string of the form ⁠YYYY-MM-DD hh:mm:ss TZ⁠, where TZ means "timezone".

Usage

now()

Value

now returns current system time as string of the form ⁠YYYY-MM-DD hh:mm:ss TZ⁠, where TZ means "timezone" (strictly speaking, the format as given to format() is ⁠%Y-%m-%d %H:%M:%S⁠, for details see ⁠[format.POSIXct()]⁠).

See Also

now_ms(), Sys.time(), format.POSIXct()

Examples

now() # "2021-11-27 19:19:31 CEST"

[Package toscutil version 2.7.4 Index]