Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change to European date
Message
De
23/11/2018 03:13:59
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01663305
Message ID:
01663732
Vues:
91
>Hi,
>
>My VFP 9 app has tons of windows and reports. The backend of the app is SQL Server. If I wanted to change all dates (which are currently in the American format) to European format, what do you suggest (the most effective way)? And do I need to change anything in the SQL Server for that too?
>
>TIA


Hi if you send date as parameter to sql side, there isn't you have to change:

myDate = date()

sqlexecute("select * from mutable where transdate > ?myDate"

VFP converts this date whatever SQL collate and your date format, doesn't matter.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform