From: <Uwe...@t-...> - 2002-12-12 14:37:22
|
Roy, Jean-Bernard wrote: > Dear all, > > Has somebody already succeeded in computing the difference from to > date fields in order to calculate a time difference ? I always have a > bad argument error message. > First: You needto read the docs! Well in fact I reread the docs an will enhance that part. It's not too clear indeed. But nevertheless it's mentioned there! Read it! Then: The you need to convert the date to a number. The you need to divide by 24 and 60 because the number represents minutes. I.e.: (/ (- (int %1) (int %0)) 1440) > Is it possible to use current date in scripts ? > This was answered by Mark already! See you, Uwe |