The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
DateTime.date
std
datetime
date
DateTime
The date portion of
DateTime
.
Date
date
[@property getter]
Date
date
[@property setter]
struct
DateTime
@
property
@
safe
pure nothrow @
nogc
void
date
(
Date
date
)
Parameters
date
Date
The Date to set this
DateTime
's date portion to.
Meta
Source
See Implementation
std
datetime
date
DateTime
constructors
this
functions
add
diffMonths
opBinary
opCmp
opOpAssign
roll
toISOExtString
toISOString
toSimpleString
toString
properties
date
day
dayOfGregorianCal
dayOfWeek
dayOfYear
daysInMonth
endOfMonth
hour
isAD
isLeapYear
isoWeek
isoWeekYear
julianDay
max
min
minute
modJulianDay
month
second
timeOfDay
year
yearBC
static functions
fromISOExtString
fromISOString
fromSimpleString
The date portion of DateTime.