How to use clock in arduino mini pro. program

Hi,

I would like to record time during serin of the data and send this serin data, time into an excel file. Could any one help me out in solving this problem.
I have tried using DateTime example folder but, i am unware of using it in the program. Please help me out from this problem.

Thanks,
Karan

Its not clear if you have the logging part working, if not and you use windows then Gobetwino may make this task easier for you: Gadgets og teknologi | Dansk Tech Blog - Mikmo

Probably the easiest way to handle the time field is to print the time (the output from the now() function) as a decimal value within your comma separated data and convert to Excel format in Excel.

You can find a formula for converting the Time format here:
http://www.blindhog.net/convert-epoch-time-in-excel/

Actually, i am using zigbee for communication. So, i would like to monitor the time at which serin data has recieved. I am using an arduino mini pro microcontroller. Could anyone please tell me how to write a code for recording time of serin data.

thanks,
Karan