Date

Convenience struct around datetime.Date

Constructors

this
this(string dateStr)

Return Date from given string

Members

Functions

addDays
void addDays(long days)

Add given number of days

dup
Date dup()

Create copy of the date

opCast
bool opCast()

Convert date to bool (used to test if date is initialized)

substract
long substract(Date otherDate)

Returns difference in days

Static functions

now
Date now()

Return today's date

Meta