Next: , Previous: , Up: datetime   [Contents]


8.2.9.9 datetime.ymd

Method: [y, m, d] = ymd (obj)

Get the Year, Month, and Day components of obj.

For zoned datetimes, these will be local times in the associated time zone.

Returns double arrays the same size as obj.