Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change to European date
Message
From
23/11/2018 03:13:59
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01663305
Message ID:
01663732
Views:
90
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform