Learn R Programming

MicSim (version 2.0.1)

getInDays_my: Get the number of days that have pasted from 1970-01-01 until 'yyyymm11'.

Description

Function computes the number of days that have pasted from 1970-01-01 until 'yyyymm11'.

Usage

getInDays_my(year, month)

Value

Number of days that have pasted from 1970-01-01 until 'yyyymm11'

Arguments

year

Year for which days elapsed should be computed, i.e., the yyyy in 'yyyymm11'

month

Month for which days elapsed should be computed, i.e., the mm in 'yyyymm11'

Author

Sabine Zinn

Examples

Run this code
getInDays_my(2020, 12)

Run the code above in your browser using DataLab