Next: datetime.ymdhms, Previous: datetime.week, Up: datetime [Contents]
8.2.10.36 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.