>From ciraci@NAUTICA.IT Mon Dec  8 13:20:09 2003
Date: Sat, 6 Dec 2003 12:00:25 +0100
From: Paolo Ciraci <ciraci@NAUTICA.IT>
Reply-To: GRADSUSR@LIST.CINECA.IT
To: GRADSUSR@LIST.CINECA.IT
Subject: System date?

Hi all,
how can I obtain the current system date-time in a GrADS script?
I wish to draw time directly from script without using a third party utility
like ImageMagick with the  output image produced.
Thanks.

Dr. Paolo Ciraci
Nautica Editrice Srl
www.nautica.it

>From arch@CAOS.IISC.ERNET.IN Mon Dec  8 13:21:00 2003
Date: Sun, 7 Dec 2003 00:16:31 +0530
From: Arindam Chakraborty <arch@CAOS.IISC.ERNET.IN>
Reply-To: GRADSUSR@LIST.CINECA.IT
To: GRADSUSR@LIST.CINECA.IT
Subject: Re: System date?

hi Paolo,
        one way of doing that is to escape to shell and redirect the
output of `date` to a file, read the file in .gs file:

'!date > sysdate.dat'
 d = read('sysdate.dat')
 d1 = sublin(d,2)
 say d1



~ Arindam Chakraborty

On Sat, 6 Dec 2003, Paolo Ciraci wrote:

> Hi all,
> how can I obtain the current system date-time in a GrADS script?
> I wish to draw time directly from script without using a third party utility
> like ImageMagick with the  output image produced.
> Thanks.
>
> Dr. Paolo Ciraci
> Nautica Editrice Srl
> www.nautica.it
>
