I'd like to learn how to compare an arbitrarily defined date and time with the output from DateTime.
I understand this bit:
DateTime mydatetime = Time[0];
mydatetime.Date mydatetime.Minute, etc.
When I Print this value I get "2/25/2011 12:00:00 AM" for example, cool.
Now, are DateTimes strings? How do I store and express my arbitrary date time? for example I'd like to enter 1/1/2000 12:00:00 AM and compare it to Time[0] to see if the current time is past 1/1/2000 or before it.
Thanks!
Comment