Try ERPNext Buy Support Partners Foundation

Taking System Date and Time

I created a custom script where user can punch in and punch out. So basically punch in takes date and time and so do Punch out
Let say user abc punch in on 02/02/2021 at 9.30 am and forgets to punch out. So the next day that is on 03/02/2021 what does user do is he changes system date and time to 02/02/2020 and mark his punch out time for 02/02/2020.So is there any way that instead of system time we can take the server time ?