The month 1..12
.
DateTime moonLanding = DateTime.parse("1969-07-20 20:18:00");
assert(moonLanding.month == 7);
assert(moonLanding.month == DateTime.JULY);
The month 1..12
.
DateTime moonLanding = DateTime.parse("1969-07-20 20:18:00");
assert(moonLanding.month == 7);
assert(moonLanding.month == DateTime.JULY);