check_is_utc: Check that a date-time is in the UTC time zone, and return...

View source: R/time_dimensions.R

check_is_utcR Documentation

Check that a date-time is in the UTC time zone, and return the date time offset 'zero'

Description

Check that a date-time is in the UTC time zone, and return the date time offset 'zero'

Usage

check_is_utc(d)

Arguments

d

an object coercible to a POSIXct

Value

a character, the time zone offset string '+0000'

Examples

start_time <- ISOdate(year=2010, month=08, day=01, hour = 12, min = 0, sec = 0, tz = 'UTC')
check_is_utc(d=start_time)


jmp75/efts documentation built on Feb. 3, 2023, 2:44 p.m.