PaulStoffregen / Time

Time library for Arduino
http://playground.arduino.cc/code/time
1.24k stars 665 forks source link

calculate seconds with two dates #134

Closed selfmade01 closed 5 years ago

selfmade01 commented 5 years ago

Hello

i use timelib.h and mealarrms.h i have t calculate seconds between two dates... 1) i use the date and time from ntp and my hour i have in hour(); 2) i would like calculate a second time and need the seonds

sample: now is 18.june.2019 22:22.00 this time i have and the unixtimestamp too

i would like give now a new date like 01.may.2019 20:00:00 ,,, and there i need the unixtimestamp ,,, if this possible?

kind regards Achim

ghost commented 5 years ago

Hi my Arduino uno skips the data collection why?

On Tue, Jun 18, 2019 at 4:25 PM selfmade01 notifications@github.com wrote:

Hello

i use timelib.h and mealarrms.h i have t calculate seconds between two dates...

  1. i use the date and time from ntp and my hour i have in hour();
  2. i would like calculate a second time and need the seonds

sample: now is 18.june.2019 22:22.00 this time i have and the unixtimestamp too

i would like give now a new date like 01.may.2019 20:00:00 ,,, and there i need the unixtimestamp ,,, if this possible?

kind regards Achim

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PaulStoffregen/Time/issues/134?email_source=notifications&email_token=AIQL3HFE6MQBKHVFL7JP4IDP3FAENA5CNFSM4HZDSHQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2HUIVQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AIQL3HG7ZS63UZN3H7ECQADP3FAENANCNFSM4HZDSHQQ .

-- Sent from Gmail Mobile

PaulStoffregen commented 5 years ago

This is not the place to ask for help. Ask on the forums.

If the problem is confirmed to be a bug in this library, then open an issue here with a detailed bug report. At a bare minimum, a bug report must provide the Arduino code to reproduce the bug.