correct getRealTime.c