Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Midnight time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01672998
Message ID:
01673015
Vues:
59
>How is it different from punch in at 8pm and out at 4am?
>
>
>>We use 00:00 vs 24:00 in our software, We receive 00:00 from the punch clock, but in the back to do time calculation we translate to 24:00, because for example punch in at 20:00 and out at 00:00 does not lend itself to an obvious calculation, so we translate to 24:00 temporarily to find out the time elapse.

We would not receive 08:00pm, it is set to 24:00 clock. so we would receive 20:00. So the logic is if in is higher than out, than it must be over midnight, thus (4+2400)-2000= 8.00hrs
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform