timeconverter: Time Unit Manager

Description Usage Arguments Examples

Description

Convert time to POSIXct to a numeric value expressed in seconds

Usage

1
2
timeconverter(x = as.POSIXct(Sys.time()),
  unit = "seconds since 1970-01-01 +1")

Arguments

x

a vector or

unit

mesarement unit with origin data and time zone. Default is "seconds since 1970-01-01 +1"

Examples

1
2
3
today_sec <- timeconverter()

today <- timeconverter(today_sec)

ecor/ncdf4df documentation built on May 15, 2019, 10:06 p.m.