Using PLX-DAQ to log data into excel

Good day everyone.

I want to log the data acquired from arduino onto an excel sheet. I have surfed the net and found that i can use PLX DAQ to achieve this.

Now i want to display the date and time of the reading.

I am able to display either date or time accurately. But displaying both is not so accurate as either one of the parameter is correct(i.e., in the format i want).

I have attached my code.

Sorry for not including comments.

Please let me know how i can achieve my objective.

Excel_datalog.ino (1.53 KB)

Good day everyone.

I got the issue solved. I had to format the cells in excel to display time.

Thank you.