Learn R Programming

ecos (version 0.1.6)

getCalendarTime: getCalendarTime Function

Description

convert

Usage

getCalendarTime(x, cycle)

Arguments

x

Date (format: 2015, 2015S1, 2015Q1, 201501, 201501S1, 20150101, etc.)

cycle

Cycle (Annual: A, Semi-Annual: S, Quarterly: Q, Monthly: M, Semi-Monthly: SM, Daily: D)