Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CDOW Problem
Message
From
09/07/2003 03:08:44
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00808318
Message ID:
00808336
Views:
16
Hi Jamie,

thanks for that idea.

using it like
*in global define
#DEFINE CDOW My_CDow

*in my UDF's
FUNCTION My_CDow
PARAMETER tdDate
...
it would be fast done for prg's and classes.
My Problem is that it is commonly used in Reports. And I would like to have the function working like it should.

Agnes

>Agnes
>I do not know any way to achieve this with CDOW, but i use instead DOW function with an array, as in:
>dimension MyWeek[7]
>MyWeek[1] = "My Sunday"
>MyWeek[2] = "My Monday"
>** and so on until saturday
>** from now on, use something like
>MyDay = MyWeek[dow(SomeDate)]
>
>I use this method all the time for hebrew:-)
>
>HTH
>Jaime
>
>
>>Hi All,
>>
>>I have a problem with the CDOW() command.
>>
>>In VFP 7.0 it returns german days as expected on a german windows with german VFP
>>
>>Now I use VFP 8.0 wich MS was unfriendly enough to skip the german version (I know a lot of people that will skip VFP because of that). CDOW() returns english days. I've tried to use the german runtime but that changes nothing.
>>
>>How to set CDOW() so that it respond the days in the language I neeed?
>>
>>Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform