days_until_next_birthday: Calculate days until next birthday

View source: R/age_functions.r

days_until_next_birthdayR Documentation

Calculate days until next birthday

Description

Calculate days until next birthday

Usage

days_until_next_birthday(birthdate, asOfDate = Sys.Date())

Arguments

birthdate

Birthdate in character (YYYY-MM-DD) or as class date.

asOfDate

The date to calculate the age. Default is the system date.

Value

days as numeric

Examples

## Not run: days_until_next_birthday("1950-01-01")

rexmacey/aasim documentation built on Oct. 29, 2024, 9:30 a.m.