Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date variable
Message
From
15/01/2003 11:11:31
 
 
To
15/01/2003 11:07:46
Jolene Dicks
Human Resources Development Canada
St. John's, Newfoundland, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00741945
Message ID:
00741950
Views:
19
>I am trying to assign a date value to a variable like so:

>cWkStart = {16/12/2002 00:00:00}

>And when I check the value, cWkStart is blank. I tried set date to dmy, but that doesn't work.

Use DATE or DATETIME() Function.
cWkStart = DATE(2002,12,16)
***  or ***
cWkStart = DATETIME(2002,12,16,0,0,0)
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Previous
Reply
Map
View

Click here to load this message in the networking platform