Date2YEARMODA: Date to YEARMODA conversion

View source: R/Date2YEARMODA.R

Date2YEARMODAR Documentation

Date to YEARMODA conversion

Description

Converts R dates to YEARMODA format

Usage

Date2YEARMODA(Date, hours = FALSE)

Arguments

Date

Date in R date format

hours

boolean variable indicating whether YEARMODAHO should be calculated (YEARMODA + hours)

Details

Converts R date to YEARMODA

Value

YEARMODA object (e.g. 20111224 for 24th December 2011)

Author(s)

Eike Luedeling

Examples



Date2YEARMODA(YEARMODA2Date(20001205))
Date2YEARMODA(YEARMODA2Date(19901003))

 

chillR documentation built on Nov. 28, 2023, 1:09 a.m.