Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change to European date
Message
 
 
To
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:
01663737
Views:
55
>>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.

Thank you for your input.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform