Day of the week on Display

José Paulo Bonatti bonatti at CPTEC.INPE.BR
Fri Apr 29 10:03:04 EDT 2005


Dear Brad Asselin

If you are working under Linux you can do inside a script:

'!date'
date=sublin(result,1)
say date

The output should be like:
Fri Apr 29 13:59:48 GST 2005

Then you can use function subwrd to get the format you want.

Regards
Bonatti

Asselin, Brad wrote:

>Good morning,
>Is it possible to display the day of the week on the images (18z Fri 29 Apr 2005) for example
>
>'draw title ' date ' Surface Winds/Precip'
>
>Does not do it.
>
>Thanks in advance.
>
>Brad Asselin
>Senior Aviation Meteorologist
>Air Routing International, L.P.
>Celebrating 26 Years of Service Excellence
>713-430-7200
>Fax 713-430-7016
>800 987 5680
>
>
>

--
*****************************************************************
                     Jose Paulo Bonatti
           Dr. em Meteorologia -  Pesquisador Titular
        Instituto Nacional de Pesquisas Espaciais - INPE
    Centro de Previsao de Tempo e Estudos Climaticos - CPTEC
             Divisao de Modelagem e Desenvolvimento
                  (http://www.cptec.inpe.br/)
                Rodovia Presidente Dutra, km 40
         12630-000      Cachoeira Paulista - SP    Brasil
        tel: (55) (12) 3186 8421  fax: (55) (12) 3101 2835
*****************************************************************



More information about the gradsusr mailing list