-
April 29th, 2013, 05:35 AM
#1
DateTime weird
Trying to estimate when a test will end
Code:
DateTime EndTime = new DateTime(DateTime.Now.Ticks + NTests * 20000000);
This gives me an end time lower than DateTime.Now !?!? Thought it was caused by long overflow, but no result is lower than 9,223,372,036,854,775,807. Any idea what might be wrong here ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|