vlibDate

vLIB logo

6.4. getMonthAbbrname()

Function Description
 getMonthAbbrname (string timestamp  [, int length=3])

Returns the abbreviated name of the month for the given timestamp.

The timestamp parameter is a vlibDate timestamp. For more information on this, please see the IMPORTANT section.
The length parameter is the length of the sub string (defaults to 3).

Example

    $date->getMonthAbbrname('2002-05-15'); // returns 'Apr'