Learn R Programming

DatabaseConnector (version 6.3.3)

dateFromParts: Construct a date from parts

Description

This function is provided primarily to be used together with dbplyr when querying a database. It will also work in dplyr against data frames.

Usage

dateFromParts(year, month, day)

Value

The date.

Arguments

year

The calendar year.

month

The calendar month (1 = January).

day

The day of the month.

Examples

Run this code
dateFromParts(2000, 1, 5)

Run the code above in your browser using DataLab