Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Computing Length Of Time User Logged In
Message
De
08/06/1998 08:57:43
 
 
À
08/06/1998 07:01:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00105725
Message ID:
00105749
Vues:
34
Store DATETIME() on loggin and logout. Subtract the two and
it returns the difference in seconds (even when days apart).
-myron kirby-
===========================================
>I'm trying to track the amount of time a user is logged in to a specific form. I need to calculate the difference between their form.init(login time) and form.destroy(logoff time) and display it as a character field in a log table. I've been trying by using the Seconds() function, but this only calculates seconds since midnight. Many of my users will be logged in from 9PM one night 'til 4AM the following morning. How can I track this? I'm sure this has been solved long ago, but I can't find it in the documentation.
>
>TIA
>
>--lincoln
----------------------------------
-myron kirby (mkirby2000@gmail.com)-
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform