Previous SAXO Documentation Assistant: Overview Next

Calendar/

monthname.pro

gives the name of a month

monthname Calendar,String

result = monthname(month, _EXTRA=_EXTRA)

Return value

the month names, a string with the same number of elements than month.

Parameters

month        in required type: scalar or array

the month number (from 1 to 12).

Keywords

_EXTRA       

Used to pass keywords to STRING function

Examples

   IDL> print, monthname([2,3])
   February March
   IDL> print, monthname(2, format='(C(CMOA0))')
   FEBRUARY
   IDL> print, monthname(2, format='(C(CmoA03,":"))')
   feb

    

Version history

Version

$Id: monthname.pro 378 2008-08-12 12:35:46Z pinsard $

History

Sebastien Masson (smasson@lodyc.jussieu.fr) 1 October 2001

 


  Produced by IDLdoc 2.0.