IsDate: Function that checks the date format

Description Usage Arguments Details Value Author(s)

View source: R/stock_info.R

Description

Function that checks the date format

Usage

1
IsDate(mydate, date.format = "%Y-%m-%d")

Arguments

mydate

a sting that represent the date

date.format

explicitly specifying the date format

Details

This function checks if the date value entered is in the YYYY-MM-DD format

Value

boolean value depending on the mydate value passed as argument

Author(s)

Rijin Baby


rijinbaby/test2 documentation built on Feb. 7, 2020, 12:26 a.m.