Page 1 of 1

Display current date ad time in table

Posted: Mon Sep 23, 2019 9:16 pm
by alains
I'd like to display the current date and time in a table:
I tried several ways like this
Serial.println("{TABLE|SET|TimeStart|"+String(now())+"}");
But nothing worked...

Re: Display current date ad time in table

Posted: Tue Sep 24, 2019 6:02 am
by philr
Hi Alain, looks like it needs to be more like
Serial.println("{TABLE|SET|TimeStart|[Now()]}");

Does that work?

Cheers
Phil

Re: Display current date ad time in table

Posted: Tue Sep 24, 2019 7:07 pm
by alains
Yes that works. Thanks Phil!