Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparing last modified dates/times of two files
Message
 
À
17/02/2005 14:27:28
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Divers
Thread ID:
00988050
Message ID:
00988054
Vues:
49
This message has been marked as the solution to the initial question of the thread.
>Hello,
>I am having a heck of a time here. I have two files in which I want to compare the dates/times last modified. I am using ADIR() and extracting both the dates and the times, but I am having problems getting them together in a DATETIME format. Can anybody help me out? Thanks!
>
>MAC

Assuming that indexes of the array are 1 for one file and 2 for the other and the array is called laDir
? Ctot(dtoc(laDir[1, 3]) + ' ' + laDir[1, 4]) > Ctot(dtoc(laDir[2, 3]) + ' ' + laDir[2, 4])
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform