Adding documentation of function 'getEpochTime' to README
This commit is contained in:
parent
97cdcd7038
commit
9c16cb728b
@ -45,3 +45,6 @@ void loop() {
|
|||||||
delay(1000);
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user