Useful time functions for SA-MP