Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert DateTime from String
Message
 
À
18/01/2002 12:43:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00606862
Message ID:
00606877
Vues:
18
Try:
lc='2001-01-18 09:34:58'
?ctot(substr(lc,6,2)+"/"+substr(lc,9,2)+"/"+substr(lc,1,4)+substr(lc,11))

>Is there any possible way to allow fox to accept a string for a DateTime field. I have a radius program that formats the DT as '2001-01-18 09:34:58'
>In the INSERT statement, it's passed as a string - this is hardcoded in the radius - to the odbc driver. Any ideas?
>
>Thank you!
>
>Christopher
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform