dtt_sys_date_time {dttr2}R Documentation

Get System Date Time

Description

Get System Date Time

Usage

dtt_sys_date_time(tz = dtt_default_tz())

Arguments

tz

A string of the time zone.

Value

A floored POSIXct scalar.

Examples

## Not run: 
dtt_set_default_tz("UTC")
dtt_sys_date_time()
dtt_set_default_tz("Etc/GMT+8")
dtt_sys_date_time()
dtt_sys_date_time(tz = "UTC")

## End(Not run)

[Package dttr2 version 0.3.0 Index]