Added functionality to systemtime.c