Added an utility function in utils.c to easily get current time string
Added time in logged messages