R/daysbetween.R

Defines functions daysbetween

Documented in daysbetween

# Number of days between date1 and date2, date as string DD.MM.YYYY.
daysbetween <- function(d1,d2) {
	
	res <- .C("Cdaysbetween",date1=as.character(d1),date2=as.character(d2),ndays=integer(1))

	return(res$ndays)
}

Try the pheno package in your browser

Any scripts or data that you put into this service are public.

pheno documentation built on May 13, 2022, 1:05 a.m.