date-zone: Get or set the time zone

date-zoneR Documentation

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.


clock documentation built on Sept. 11, 2024, 8:39 p.m.