Adding documentation of function 'getEpochTime' to README

This commit is contained in:
Alexander Entinger 2019-09-19 07:29:51 +02:00 committed by Alexander Entinger
parent 97cdcd7038
commit 9c16cb728b

View File

@ -45,3 +45,6 @@ void loop() {
delay(1000);
}
```
## Function documentation
`getEpochTime` returns the unix epoch, which are the seconds elapsed since 00:00:00 UTC on 1 January 1970 (leap seconds are ignored, every day is treated as having 86400 seconds). **Attention**: If you have set a time offset this time offset will be added to your epoch timestamp.