Convert UNIX Timestamp I have an UNIX Timestamp in my Arduino Sketch and would like to get the day of the week of this timestamp (1-7). 

How can I convert the timestamp to get the day of the week?
The simplest solution to that problem is to download the Time library and use the weekday() function:

int weekday(time_t t); // the weekday for the given time 


Cheers!