Time: Add localtime/mktime equivalents