recog_one_date: Recognise one date given its month and year

Description Usage Arguments Value

View source: R/FormatDate.R

Description

Recognise one date given its month and year

Usage

1
recog_one_date(date, month, year)

Arguments

date

A string of date, where date, month and year are separated by either "-" or "/", but not both.

month

A number (1 to 12) indicating the month this time point is in.

year

A number (with 4 digits) indicating the year this time point is in.

Value

Returns the date as a character variable of the format


nyilin/QcDM documentation built on June 29, 2021, 1:14 a.m.