Calendar with days of the week [message #86583] |
Wed, 20 November 2013 13:44  |
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  |
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) )
|
|
|