sh_tzone {shide}R Documentation

Get the time zone component of jdatetime objects

Description

Get the time zone component of jdatetime objects

Usage

sh_tzone(x)

## S3 method for class 'jdatetime'
sh_tzone(x)

Arguments

x

A vector of jdatetime objects.

Details

This function is only valid for jdatetime objects. jdate objects do not have time zone attribute.

Value

A character vector of length 1. An empty string represents the current local time zone.

Examples

x <- jdatetime("1402-12-14 19:13:31", tzone = "Iran")
sh_tzone(x)

[Package shide version 0.2.1 Index]