Re: Logout time

2023-08-09 Thread ivan harold
: > Thank you all. > > Thank you # madhusudan (I got on idea through you shared the code) > > On Fri, Jul 28, 2023, 8:16 PM Madhusudhan Reddy > wrote: > >> To get Logout time based on login time, >> >> login time = some thing >> >> logout time

Re: Logout time

2023-07-31 Thread Prashanth Patelc
Thank you all. Thank you # madhusudan (I got on idea through you shared the code) On Fri, Jul 28, 2023, 8:16 PM Madhusudhan Reddy wrote: > To get Logout time based on login time, > > login time = some thing > > logout time = login time + 8 hours > > use datetime timed

Re: Logout time

2023-07-28 Thread Ruby
o have `last_login` and `last_logout` object which is available to you when using `django.contrib.auth` <https://reubensunday.com/#contact> *Reuben Sunday* Contact For Further Assistance <https://reubensunday.com/#contact> On Fri, Jul 28, 2023 at 3:46 PM Madhusudhan Reddy wrote: &g

Re: Logout time

2023-07-28 Thread Madhusudhan Reddy
for better understanding [image: Screenshot from 2023-07-28 20-18-37.png] On Fri, 28 Jul 2023 at 20:15, Madhusudhan Reddy wrote: > To get Logout time based on login time, > > login time = some thing > > logout time = login time + 8 hours > > use datetime timed

Re: Logout time

2023-07-28 Thread Madhusudhan Reddy
To get Logout time based on login time, login time = some thing logout time = login time + 8 hours use datetime timedelta module in python, >>> CODE <<< from datetime import datetime, timedelta login_time = datetime.now() logout_time = login_time + timedelta

Re: Logout time

2023-07-28 Thread Annadatha Rao
look for session : if session expires you have to log in again. It is the same for all apps irrespective of python. Thank you, Annadatha. On Fri, Jul 28, 2023 at 8:05 PM Prashanth Patelc wrote: > Hi all, > > How to get logout time based on login time in python? > > I'm stor

Re: Logout time

2023-07-28 Thread Madhusudhan Reddy
Please describe the problem properly bro. we are not understanding On Fri, 28 Jul 2023 at 20:05, Prashanth Patelc wrote: > Hi all, > > How to get logout time based on login time in python? > > I'm storing hour in one column > Eg ; hour > 8 > Based on 8 Calc

Logout time

2023-07-28 Thread Prashanth Patelc
Hi all, How to get logout time based on login time in python? I'm storing hour in one column Eg ; hour 8 Based on 8 Calculate logout time My login time 10:00:00 I need 6: 00:00 (based 8) -- You received this message because you are subscribed to the Google Groups "Django