George Beckman a écrit : > Gang, > > Near as I can tell from web and help research, Toolbox call > GetDateTime(Secs&) gives the number of seconds since Midnight, Jan. 1 1904. > > That was roughly 101 years ago. > > When I run this routine, I am getting. 1107025018 seconds. > > If I figure that there are 86400 seconds a day (24*60*60) > > So I divide 86400 into 1107025018 I get 12812 and a fraction of days. > > That seemed small. If I divide 12812 by 365, I don't get anywhere near > 101. I get more like 35, or 1970. What am I missing here? > You should dimension secs& as an unsigned long. Alain