|
|
Classification: |
C++ |
Category: |
Applications |
Created: |
08/20/2004 |
Modified: |
09/13/2004 |
Number: |
FAQ-1115 |
Platform: |
Not Applicable |
|
Question: Why does TTime time(_L("20040819:120000.000000")); represent Noon on the 20th of September 2004?
Answer: The TTime API represents January as the zeroth month of the year, February as the 1st month of the year etc. So the 8 th month of the year is September. Similarly the first day of the month is the zeroth day of the month, the second day of the month is the first day of the month etc.
So using TTime xxxx0819:xxxxxx.xxxxxx is the 20th of September.
|
|
|