core: Support time functions.