scsh-users
[Top] [All Lists]

Re: date/time calculations

To: scsh-news@zurich.ai.mit.edu
Subject: Re: date/time calculations
From: Rolf-Thomas Happe <rthappe@mathematik.uni-freiburg.de>
Date: 25 Feb 2002 18:29:14 +0100
Organization: IAM * ALU Frg * Germ
Thomas Wager writes:
> > (time (make-date  0 3 16 25 2 2002)))
> 
> Error: 79
>        "Value too large for defined data type"

Under Linux 2.2.17 I get this:

  Welcome to scsh 0.6.1 (Combinatorial Algorithms) [beta 3]
  Type ,? for help.
  > (define dee (make-date  0 3 16 25 2 2002))
  > (date? dee)
  #t
  > (time dee)
  -1
  > (date->string (date))
  "Mon Feb 25 18:11:01 2002"
  > (date->string dee)

  Error: exception
         wrong-type-argument
         (call-external-value "format_date" #f)

> I have no idea why this happens... BTW, it's version 0.6.1 on Solaris 8.

Nor do I, I'm afraid.

rthappe

<Prev in Thread] Current Thread [Next in Thread>