add nginx time functions