import time in template