Seconds passed between 2 dates
#1

Hi, how can I make a script that compares 2 dates(dd/mm/yy - h:m) and tell me how many seconds have passed between these two dates?

Thanks
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=254915
Reply
#3

You can use 'gettime();'. It returns seconds passed since midnight 1st January 1970.
https://sampwiki.blast.hk/wiki/Gettime
Reply
#4

Thank you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)