powered by
jdatetime
Get the time zone component of jdatetime objects
sh_tzone(x)# S3 method for jdatetime sh_tzone(x)
# S3 method for jdatetime sh_tzone(x)
A character vector of length 1. An empty string represents the current local time zone.
A vector of jdatetime objects.
This function is only valid for jdatetime objects. jdate objects do not have time zone attribute.
jdate
x <- jdatetime("1402-12-14 19:13:31", tzone = "Iran") sh_tzone(x)
Run the code above in your browser using DataLab