[En-Nut-Discussion] problem with date 31.8.2005

Peter Sodermanns peter.sodermanns at aixcon.de
Wed Aug 31 14:02:54 CEST 2005


Hi Dave,

ok ok, I got it. RTFM!

Dave schrieb:
> You'll probably want to kick yourself after you read this page.
> http://ethernut.de/api/struct__tm.html which in part says tm_mon =
> months since January - [0,11]. You've been a month off all along.

But it's not consistent, since the range of tm_mday is [1,31].
Either day or month needs special treatment.


Thanks
          Peter



More information about the En-Nut-Discussion mailing list