tlhIngan-Hol Archive: Thu Jul 24 16:38:11 2003

Back to archive top level

To this year's listing



[Date Prev][Date Next][Thread Prev][Thread Next]

RE: QIpwI' jIH. QaHraj vItlhob.



nbabwI':
> 
> *Visual C++* lo'bogh ghunwI'pu':
> 
> *COleDateTime* vIlo' vIneH, 'ach De' vIyajchu'be'bogh tu'lu':
> ghorgh tagh *COleDateTime*?
> (qaSDI' *1/1/70 Midnight*, tagh *CTime*)
> *MSDN* vInuDpu', 'ach QaHbe'. (motlh.)
> vIchenmoHmeH, *time_t*, *__time64* ghap vIlo' vIneH.
> 
> 'ej lup lo' *COleDateTime*, qar'a'?
> 
> muQaH 'Iv?

jatlh MSDN:

///////////
A COleDateTime object encapsulates the DATE data type used in OLE
automation. It is one of the possible types for the VARIANT data type of OLE
automation. A COleDateTime value represents an absolute date and time value.

The DATE type is implemented as a floating-point value, measuring days from
midnight, 30 December 1899. So, midnight, 31 December 1899 is represented by
1.0. Similarly, 6 AM, 1 January 1900 is represented by 2.25, and midnight,
29 December 1899 is - 1.0. However, 6 AM, 29 December 1899 is - 1.25.

Note   To interpret the time portion, take the absolute value of the
fractional part of the number.
The COleDateTime class handles dates from 1 January 100 - 31 December 9999.
COleDateTime does not support Julian dates. The Gregorian calendar is
assumed to extend back in time to 1 January 100.
///////////

vaj 1 January 100 taghlaw' *COleDateTime*, 'ej ramjep 30 December 1899 'oS
paghna'.

*time_t*-vo' chenlaHbej *COleDateTime*. COleDateTime::COleDateTime(time_t
timeSrc ) yIlo'. *__time64_t* Dalo'laHbe'law', 'ach DachoHlaH 'ej *time_t*
Dalo'laH.

pagh


Back to archive top level