Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating time cards
Message
De
28/11/2008 16:02:30
Randy Hooper
Ranco Business Software
Tampa, Floride, États-Unis
 
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:
01364566
Vues:
18
>>clock in at 9:30am and clock out at 11:00am this calulate to 1.70, looking for 1.30, is this not what the form is for to asks questions.
>>
>
>Convert them to Date/Time (if they aren't already), then subtract them and convert back into hours:
>
>ex.
>
>
>ltStart = DATETIME(2008, 11, 28, 9, 30, 00)
>ltEnd = DATETIME(2008, 11, 28, 11, 0, 00)
>?(ltEnd - ltStart) / 60 / 60
>
cool, thanks
Foxpro is a sweet puppy

'cept it barks every now and then =)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform