Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating time cards
Message
De
29/11/2008 18:29:57
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
29/11/2008 15:28:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01364561
Message ID:
01364653
Vues:
16
>Maybe someday when we convert our time system to decimal. ;)

Expressing the times of day in decimals would actually simplify a lot of things. .5 would be noon, .25=06:00, .75=18:00, 1.00=00:00 (aka midnight) and for any time between you could just pull as many decimals as you need. One milliday would be about a minute and a half (86.4 seconds), so with just three digits we could be sufficiently precise for any of our schedules; for precision, add 4th or 5th decimal and there you are.

Just divide the current time, in hours with decimals, with 24, and you'd get such a number.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform