Get or set timezone property

Share:

Description

get or set the timezone of the time object (see timezone in the base package).

Usage

1
2
  timezone(object)
  timezone(object) <- value

Arguments

object

object to get or set timezone property.

value

specify the new value for timezone. See timezone in the base package.

Details

Changing the timezone of an object consist in reprojecting time coordinates from a system of reference to another. That is to say that not only the ‘timezone’ attribute is changed : for instance '2012-02-01 14:OO UTC' will be changed in '2012-02-01 15:00 CET' if ‘timezone’ is set to ‘CET’ (French local time).

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.