comp.lang.ada
 help / color / mirror / Atom feed
* How to calculate the number of seconds since January 1st, 1970 ?
@ 2002-04-02  9:24 P. Renaud
  2002-04-02 12:00 ` Joachim Schröer
  2002-04-02 14:03 ` David C. Hoos
  0 siblings, 2 replies; 5+ messages in thread
From: P. Renaud @ 2002-04-02  9:24 UTC (permalink / raw)


Hi all,

I have to calculate the number of seconds since January 1st, 1970
00:00.

I tried using the Calendar package but it always fails with the
Time_Error exception (the minus operator used to calculate the
difference between the current date/time and the reference date/time
is greater than the duration type limit).

How can I do to obtain the correct result ?

Thanks for your help.

P. Renaud



^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <0ad901c1da4f$26cc0160$453ab4d8@sy.com>]

end of thread, other threads:[~2002-04-02 18:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-02  9:24 How to calculate the number of seconds since January 1st, 1970 ? P. Renaud
2002-04-02 12:00 ` Joachim Schröer
2002-04-02 14:03 ` David C. Hoos
     [not found] <0ad901c1da4f$26cc0160$453ab4d8@sy.com>
2002-04-02 15:09 ` Mário Amado Alves
2002-04-02 18:32   ` tmoran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox