Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Out of brain
Message
 
 
To
02/05/2002 09:47:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00651549
Message ID:
00651825
Views:
17
>While you already got a satisfactory answer, may I suggest you forget about ctod()? At least if you use VFP 6 or later, it is safer to create dates with date(nYear, nMonth, nDay).
>
>If, OTOH, you are still forced to use VFP 5 (or earlier), ctod() seems to be the only viable option.
>
>Hilmar.

Hi Hilmar,

It's actually not for me. Our convertors receive data in lots of different formats. They know some basic VFP, so they use ctod function to convert characters to date. They noticed this problem (I don't know, how many towns this problem already affected) and asked for my help (BTW, Conversion is an application by my colleague). I thought, that set century in form's load would be the simplest answer and they don't have to change anything...

BTW, did you see the thread, I posted few minutes ago, 'what's wrong in the code?'. Could you check, please?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform