Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Fox > Re: Assignment ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 776 of 857
Post > Topic >>

Re: Assignment of date variables

by Josh Assing <XjoshX@[EMAIL PROTECTED] > Jun 2, 2007 at 08:01 PM

I'm sorry -- I wrote too quickly...


x={^2005-2-2}
?VARTYPE(x)

returns D (date)

so you can use hte brackets, ctod() or date()  -- I prefer the date()
method as
I think it's easier to read.


On Sat, 02 Jun 2007 19:58:50 -0700, Josh Assing <XjoshX@[EMAIL PROTECTED]
>
wrote:

>You can use the brackets only for a DATETIME vartype.  for DATE types
your
>limited to ctod() or date()
>
>
>On 3 Jun 2007 02:26:06 GMT, rlewart@[EMAIL PROTECTED]
 (Cass Lewart)
wrote:
>
>>Is there a direct assignment of dates like in Foxpro for DOS using curly

>>brackets, e.g.  dt={02/02/2007} or do I have to use the CTOD function?
>>
>>dt=ctod("02/02/2007")
>>
>>Cass
 




 6 Posts in Topic:
Assignment of date variables
rlewart@[EMAIL PROTECTED]  2007-06-03 02:26:06 
Re: Assignment of date variables
Josh Assing <XjoshX@[E  2007-06-02 19:58:50 
Re: Assignment of date variables
Josh Assing <XjoshX@[E  2007-06-02 20:01:59 
Re: Assignment of date variables
Gene Wirchenko <genew@  2007-06-05 17:38:03 
Re: Assignment of date variables
rlewart@[EMAIL PROTECTED]  2007-06-03 20:09:55 
Re: Assignment of date variables
tim_witort@[EMAIL PROTECT  2007-06-04 11:58:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 22:07:36 CDT 2008.