Problem with Date and time library

Hi,

I´m trying to use the Date and time library, for NTP synchronization purposes.

My problem is related with the libraries. The Date and time library uses <UdpBytewise.h>, which in turn uses the <w5100.h>, <socket.h> and <types.h>.

Does anyone know where i can find the 3 last .h files?
Has anyone used the Date and time library, how did you fixed this?

Best regards

Check - Arduino Playground - DS1307OfTheLogshieldByMeansOfNTP -
I've made it for a logshield but you can strip out the NTP part quite easily

Hi robillart,

Seems to work! :slight_smile:

But i have some doubts, from where do you use the DateTime Type definition.

Can you give me that library?

Thanks

Somewhere in the code there is a conversion to unix time (since 1-1- 1970) That number can be used in the DateTimelib IIRC

Hi,

I didn´t understood completely.

Can you point me the directory of the DateTime.h library.

cheers

Check - Data-Logger Shield for Arduino - The RTC lib has a DateTime class and a 1307 class