Learn R Programming

MicSim (version 2.0.1)

getInDays: Get from a date given in the numeric format yyyymmdd the number of days elapsed since 1970-01-01

Description

Function computes the days that have pasted since 1970-01-01 up to the currDate (in the numeric format yyyymmdd)

Usage

getInDays(currDate)

Value

Number of days elapsed since 1970-01-01.

Arguments

currDate

Date given as string of the numeric format yyyymmdd.

Author

Sabine Zinn

Examples

Run this code
getInDays(20200826)

Run the code above in your browser using DataLab