Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mulituser and calculating
Message
 
À
18/06/1997 20:53:08
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00036369
Message ID:
00037276
Vues:
32
> Just to make it shorter: make an additional field in the data, > containing just hours (decimal hours, with 5 hours 45 minutes expressed > as 5.75) or hours:minutes in two fields, so you calculate that only > once. There are 1440 minutes in 24 hours, so you could store the number of minutes in a 4 character slot, and then do the conversion to hh:mm on the fly. This also makes arithmetic easier when comparing or calculating times. /Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform