getAgeInDays {MicSim} | R Documentation |
Get from a given date the age in days
Description
Function computes for a given date the correct age in days.
Usage
getAgeInDays(currDate, birthDate)
Arguments
currDate |
Reference date given as string of the format "yyyymmdd". |
birthDate |
Birth date given as string of the format "yyyymmdd". |
Value
Correct age at the specific date currDate
in days
Author(s)
Sabine Zinn
Examples
getAgeInDays("20200826", "19800605")
[Package MicSim version 2.0.1 Index]