comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: days of the week
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: days of the week [message #29857 is a reply to message #29849] Wed, 20 March 2002 14:20 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Bastienne Schneiter" <b.schneiter@meteonews.ch> wrote in message
news:c3ea865f.0203200659.62bcaed9@posting.google.com...

> I need to show a date in a little application. Its format is
> YYYYMMDDHH. But I also have to show to which day of the week this
> date correspond (MON, TUE etc). Does anybody know how to determine
> the day of the week for a given date?

Several solutions to your last question have already been offered, but
if you just want to *show* the day of the week you can use IDL's
calendar format specifiers.

IDL> print, 'Today is', systime(/JULIAN), FORMAT='(A,X,C(CDwA0))'
Today is Thursday

--
Mark Hadfield
m.hadfield@niwa.co.nz Ka puwaha et tai nei
http://katipo.niwa.co.nz/~hadfield Hoea tatou
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: A little handy date function
Next Topic: Re: IDL Movie Viewer

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:38:15 PDT 2025

Total time taken to generate the page: 0.00408 seconds