Added time and timestamp functions.