Skip to contents

Calculate decimal age from date of birth and date of measurement

Usage

date2age(dob = NA_character_, dom = NA_character_)

Arguments

dob

Date of birth

dom

Date of measurement

Note

Internal function. Not to be called directly.

Examples

growthscreener:::date2age(dob = "17022020", dom = "04062021")
#> [1] NA