Learn R Programming

clock (version 0.7.1)

date-zone: Get or set the time zone

Description

[Deprecated]

  • date_zone() is deprecated in favor of date_time_zone().

  • date_set_zone() is deprecated in favor of date_time_set_zone().

Usage

date_zone(x)

date_set_zone(x, zone)

Arguments

x

[POSIXct / POSIXlt]

A date-time vector.

zone

[character(1)]

A valid time zone to switch to.