Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Am I missing something here - CTOD()
Message
From
06/12/2001 14:19:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
06/12/2001 09:38:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00590504
Message ID:
00590743
Views:
24
>Hello all;
>
>I am trying to set a empty value to a date type variable and the VFP are complaining of:
>
>
mybeautydate = ctod("  /  /  ")
>
>
>Am I missing something here ?
>
>TIA
>
>CLAUDIO

... and to construct non-empty dates, in VFP 6 or later, use the new date() function:
MyDate = date(MyYear, MyMonth, MyDay)
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform