Learn R Programming

MicSim (version 2.0.1)

getYear: Get the calendar year from days elapsed since 01-01-1970

Description

Function computes from days elapsed since 01-01-1970 the related calendar year.

Usage

getYear(daysSince01011970)

Value

Calendar year from days elapsed since 01-01-1970

Arguments

daysSince01011970

Days elapsed since 1970-01-01

Author

Sabine Zinn

Examples

Run this code
getYear(2561)

Run the code above in your browser using DataLab