What is RTEMS epoch ?
Joel Sherrill
joel.sherrill at OARcorp.com
Fri Jun 13 16:53:36 UTC 2003
Jack Cawkwell wrote:
>
> Does using ACE wrappers mean that you don't have to worry about this?
There's always something to worry about. :)
Seriously there should be nothing to worry about. They are probably
using POSIX services though.
--joel
> Jack
>
> Joel Sherrill <joel.sherrill at oarcorp.com> writes:
> >
> >
> >Paul Whitfield wrote:
> >>
> >> Dhiraj Gaurh wrote:
> >>
> >> > Hi,
> >> > Thanks for your reply. When you wrote "Note Jan 1, 1970" , did you
> >mean
> >> > "NOT Jan 1, 1970" , or did you mean it could also be Jan 1, 1970, if
> >so
> >> > configured. Thanks for your patience.
> >>
> >> NOT Jan 1, 1970.
> >>
> >> (Which is the epoch on Unix and Linux systems)
> >>
> >> Sorry about that....
> >
> >It is a confusing issue. Internally RTEMS keeps time based upon the
> >epoch of Jan 1, 1988. The Classic API services also use the epoch.
> >
> >The RTEMS POSIX time services, on the other hand, do use the Jan 1,
> >1970 epoch but will reject attempts to set the date/time to anything
> >before the 1988 epoch.
> >
> >And you haven't even begun to worry about when these time
> >representations
> >overflow. :)
> >
> >--
> >Joel Sherrill, Ph.D. Director of Research & Development
> >joel at OARcorp.com On-Line Applications Research
> >Ask me about RTEMS: a free RTOS Huntsville AL 35805
> >Support Available (256) 722-9985
> >
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list