Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
If condition with date
Message
 
 
À
16/04/2003 13:42:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00778466
Message ID:
00778475
Vues:
12
>Could you please tell me how i can use the date format for the if condition.
>
>Could you please correct it.
>
>msg = date()
>
>if msg = {04/16/2003} then
> =messagebox("License expired")
> return .t.
>endif
>
>Thank you very much.

How about

IF Msg = date(2003, 4, 16)

This is not dependent on SET("DATE") or STRICTDATE settings.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform