Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CAST date and datetime
Message
De
11/06/2004 13:26:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Titre:
CAST date and datetime
Divers
Thread ID:
00912802
Message ID:
00912802
Vues:
45
I expected a casting support for date/datetime to numerical values.
? CAST(DATE() AS I) && Expected the number of days 
                    && from one given conventional date ( {^1900/1/1} is good )
*that is
? CAST(DATE() AS I)=(DATE() - {^1900/1/1}) && expected true
? CAST(DATETIME() AS B(0)) && Expected the number of seconds 
                           && from one given conventional datetime ( {^1900/1/1:} )
*that is
? CAST(DATETIME() AS B(0))=(DATETIME() - {^1900/1/1:}) && expected true
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform