Previous SAXO Documentation Assistant: Overview Next

Calendar/

date2string.pro

create a nice and readable format to print a date

date2string 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.

 


  Produced by IDLdoc 2.0 on Wed Sep 13 16:32:05 2006.