Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compare two date strings..
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00300955
Message ID:
00301113
Vues:
37
>>>How can I best compare two date strings? I have a TEST string which I want to compare to the Date() string?
>>>
>>>TEST > Date() gives an error.
>>>
>
>>Michiel, why not to convert it to date and compare them as dates?
>
>Where they are both DATE format strings. How do I compare them then?
>
>Thanks!

Say,

IF CTOD(test) = DATE()
* your code here
ENDIF
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform