Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00469814
Message ID:
00469880
Vues:
27
>>>Nadya,
>>>
>>>Try this instead
>>>
>>>
>>>lcDate=dtoc(date()-10,1)
>>>? between(lcDate,"20001201","20010129")
>>>
>>
>>Thanks to everyone, who replied.
>>
>>I solved the problem by:
>>between(ctod(CharField),date1,date2)
>>Works fine.
>
>Works fine, but it will give you problems with ambiguous dates if SET STRICTDATE is not 0.

Um, this is 2.x so strict date is a problem but other date formats could be. So...you'd
lcdateset = SET('DATE')
SET DATE MDY
* Convert strings to dates
SET DATE (lcdateset)
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform