<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

Calendar/

date2string.pro

create a nice and readable format to print a date

topdate2string Calendar, String

result = date2string(yyyymmdd, _EXTRA=_EXTRA)

Return value

a string containing the date in a easy readable format with the same number of elements than yyyymmdd.

Parameters

yyyymmdd        in required

the date in the format yyyymmdd. Can be scalar or array

Keywords

_EXTRA       

used to pass your keywords to other procedures, for example keyword FORMAT of string function (see example bellow)

Examples

IDL> print, date2string(19900123) Jan 23, 1990 IDL> print, date2string(19900123, format = '(C(CMOA))') JAN 23, 1990

Version history

Version

$Id: date2string.pro 157 2006-08-21 09:01:50Z navarro $

History

Sebastien Masson (smasson@lodyc.jussieu.fr) Creation ??? update/review June 2005 Sebastien Masson.

Statistics

McCabe cyclic 1
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.