sys_idle_user_ add TO_TIME and TO_HOUR macro fns

add macro functions TO_TIME and TO_HOUR