Dear beast:

We're talking about fraction of 6 digits. No! I don't create this! It was created by the BIG BLUE.

[ ]

Cheers
At 12:18 4/4/2006, you wrote:
Arí Ricardo Ody wrote:
At 11:15 4/4/2006, you wrote:
 >To avoid all these issues, we use TDatetime, with less space.
But have no seconds fraction. We'll be back to the old question: How do I do with fractions of seconds that can be INSERTed by other languages??? How do I generate the fraction from Lazarus/FPC?
[ ]
If you mean decoding fractions of seconds from a TDatetime value,
i believe below is what your looking for in $FPCDir/rtl/objpas/dateutils.inc:

Procedure DecodeDateTime(const AValue: TDateTime; var AYear, AMonth,
                         ADay, AHour, AMinute, ASecond,
                         AMilliSecond: Word);

You can also encode a TDatetime value with:
Function EncodeDateTime(const AYear, AMonth, ADay, AHour,
                        AMinute, ASecond,
                        AMilliSecond: Word): TDateTime;
in the same unit.



Cheers,

Funky Beast

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to