Serial Ethernet Board get Unix Time

General discussion on mikroElektronika website & forums.
Post Reply
Author
Message
yhteh96
Posts: 5
Joined: 06 Oct 2019 17:18

Serial Ethernet Board get Unix Time

#1 Post by yhteh96 » 25 Oct 2019 06:27

Hello so i got this https://www.mikroe.com/serial-ethernet-board and it is working well and all. However, now i want my system to know the internet time and date at all time. Is there any way to do it? I need it for if else function. Example if it is weekday, do this, if it is weekend do that. Thank you!

yhteh96
Posts: 5
Joined: 06 Oct 2019 17:18

Re: Serial Ethernet Board get Unix Time

#2 Post by yhteh96 » 25 Oct 2019 07:33

I have found the time library with epochtotime function, it seems that is the only way.
I will try using that

Post Reply

Return to “Website & Forums General Discussion”