Basic usage of DateTime
suggest changeDateTime now = new DateTime.now();
DateTime berlinWallFell = new DateTime(1989, 11, 9);
DateTime moonLanding = DateTime.parse("1969-07-20 20:18:00"); // 8:18pm
You can find more in depth information here.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents