Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Julian Date Function
Message
De
14/12/2000 08:16:46
 
 
À
13/12/2000 11:56:09
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00452927
Message ID:
00453272
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform