Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparing
Message
De
07/03/2003 13:04:31
 
 
À
07/03/2003 08:27:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00762655
Message ID:
00762860
Vues:
10
>I want to compare two variable which is in character type. These two variables contain hours . I want to know which one is the most recent

If both are consistant in the format, say a 24 hour time, a simple string compare works.

cTa = "10:20:30"
cTb = "14:25:10"

?cTa < cTb
?cTa > cTb
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform