Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Julian Date Function
Message
From
14/12/2000 08:16:46
 
 
To
13/12/2000 11:56:09
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00452927
Message ID:
00453272
Views:
15
From the SQL Server 2000 BOL:

"Values with the datetime data type are stored internally by Microsoft SQL Server as two 4-byte integers. The first 4 bytes store the number of days before or after the base date, January 1, 1900. The base date is the system reference date."

You should be able to get the julian value with

SELECT CONVERT(int, datevalue)

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform