From 9c16cb728bbda2eb5e60781d9cbb8985e6f58207 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Thu, 19 Sep 2019 07:29:51 +0200 Subject: [PATCH] Adding documentation of function 'getEpochTime' to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 6c8c07a..46f9eb5 100644 --- a/README.md +++ b/README.md @@ -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.