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

Home » Public Forums » archive » Calendar with days of the week
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Calendar with days of the week [message #86583] Wed, 20 November 2013 13:44 Go to next message
le.davide is currently offline  le.davide
Messages: 18
Registered: November 2010
Junior Member
Hi all,
is anyone aware of any function in IDL already available to print a series of dates (a calendar) in the form:

Day of the week, Month, Day of the month:

Mon 11 1
Tue 11 2


Thanks.
Cheers!
Urz
Re: Calendar with days of the week [message #86586 is a reply to message #86583] Thu, 21 November 2013 03:37 Go to previous message
andeh is currently offline  andeh
Messages: 23
Registered: April 2011
Junior Member
> is anyone aware of any function in IDL already available to print a series of dates (a calendar) in the form:

>
> Day of the week, Month, Day of the month:
>

Hi Urz,

You could use LABEL_DATE and JULDAY for this I think.



month = 10
year = 2009
day = 5
PRINT, LABEL_DATE(DATE_FORMAT='%W %N %D',0,0,JULDAY(month,day,year) )
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: QueryVizier, multiple objects.
Next Topic: Determinant of a matrix

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

Current Time: Wed Oct 08 13:34:11 PDT 2025

Total time taken to generate the page: 0.00550 seconds