format_offset

0th

Percentile

format_offset

function to format the offset of a time from UTC

Usage
format_offset(x, fmt = "%Oz")
Arguments
x
POSIXct for which offset-string is sought
fmt
string describing format of offset, default: %Oz
Details

This is an internal function, used in conjunction with stamp. There are three available formats:

  • %Oo+01
  • %Oz+0100
  • %OO+01:00

If the %Oo format is used for a half-hour timezone, a warning is issued, and the format is changed to %Oz

Value

  • string

Aliases
  • format_offset
Documentation reproduced from package lubridate, version 1.3.0, License: GPL

Community examples

Looks like there are no examples yet.