I have '77337' and '4477877' delcared as INT in a client's database in SQL Server. Their app displays the following date and time as 9/24/2012 and 12:26 respectively. How were these computed?
From the database:
From the application:
I tried use epoch time or unix time, but it's a far match
Edited the screenshots for more examples
1条答案
按热度按时间xmakbtuz1#
As mentioned by @zhorov in comments the entrydate values are number of days after
1800-12-28
, so the complete calcul can be :Result :
Demo here