Hi irt:
The ANSI library provides several functions to get the current time. In an embedded systems environment, implementations for these functions can not be provided because different targets may use different ways to count the time.
I would suggest you write your own functions with the real time clock component on your board.
Regards
Daniel