Skip to content

Commit 9c16cb7

Browse files
committed
Adding documentation of function 'getEpochTime' to README
1 parent 97cdcd7 commit 9c16cb7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ void loop() {
4545
delay(1000);
4646
}
4747
```
48+
49+
## Function documentation
50+
`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.

0 commit comments

Comments
 (0)