Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6852299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:21:15+00:00 2026-05-27T01:21:15+00:00

Why is there a difference between the conversion of a date in Delphi and

  • 0

Why is there a difference between the conversion of a date in Delphi and SQL Server with these commands:

SQL Server :

SELECT CAST(GETDATE() AS FLOAT)

Delphi :

writeln(floattostr(now));

Example: For today

SQL Server = 40871.431264506 
Delphi     = 40873.4333729861

Why are the two results different?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:21:15+00:00Added an answer on May 27, 2026 at 1:21 am

    Because many languages have different ways of dealing with dates internally. They may or may not store them internally as a float, and may also start counting at different “starting” dates. For instance, Delphi starts at 12/30/1899 (a TDateTime of 0).

    See also this link.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a fundamental difference between these statements select * from users where id
Is there any difference between type casting & type conversion in c++.
Is there any semantic difference between ToXXXX conversion methods and AsXXXX conversion methods in
Is there any difference between parametrised constructor and conversion constructor. If so what is
Is there any c# library that handles lossless conversion between different image formats?
Is there any difference between int on_exit(void (*function)(int , void *), void *arg); and
Is there any difference between: if foo is None: pass and if foo ==
Is there a difference between NULL and null in PHP? Sometimes they seem to
Is there a difference between just saying throw; and throw ex; assuming ex is
Is there a difference between generating multiple numbers using a single random number generator

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.