Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-10

Precision of timestamp values.

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Frank Church
Frank Church wrote
How accurate can a timestamp be calculated in FreePascal? Is the the Now() function accurate to more than a millisecond?

No. A millisecond is the most.

The datatype (double) may allow more, but it is not taken into account when comparing or converting.

Michael.