Implement 'get-time' primitive