When testing my app under Gremlins (m515 debug ROM), I sometimes encounter this error. However there is no limit to the seconds value suggested by TimSecondsToDateTime().
Actually there is. It's maxSeconds, defined in DateTime.h. This is equal to the number of seconds in 128 years, and thus is a lower limit (by about 8 years, IIRC) than 2^32.
-- Ken -- Ken Krugler TransPac Software, Inc. <http://www.transpac.com> +1 530-470-9200
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
