Examples: DateTime class
1. This agent creates a new DateTime object and prints it in local time and GMT.
2. This script creates a new DateTime object that represents today's date and then prints it in local time. The time component of the DateTime object is not set.
3. This script creates two new DateTime objects. The first represents January 15, 1900; the second represents January 15, 2000.
See Also