Learn R Programming

shide (version 0.2.1)

sh_quarter: Get the quarter of Jalali date-time objects

Description

Get the quarter of Jalali date-time objects

Usage

sh_quarter(x)

Value

An integer vector of 1 to 4.

Arguments

x

A vector of jdate or jdatetime objects.

Examples

Run this code
x <- jdate("1402-12-14")
sh_quarter(x)

Run the code above in your browser using DataLab