[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Date???



Hi all

I have the seguent problem.
I have create a log on stdout with rtl_printf, now i must print in the log,
the current date and hour.
for examples:

-> test start at 12:00 at  15/4/2000



#include <time.h>
...
t = time();
rtl_printf("date: %s",cdate(&t)); 
...

I' ve trying......but do not work :-(


How to solve the problem? 
Thanks for your help! 

Bye
	Tiziano rossi