HPCC-10409 Provide functions to access user/system time

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>