You are here

public static function DatexObjectUtils::monthLastDay in Datex 7

Returns last day of a month.

File

datex_api/datex_api_classes.inc, line 993
API and helper functions used by other datex modules.

Class

DatexObjectUtils
Utitilities to work with a DatexObject

Code

public static function monthLastDay($date = NULL) {
  $date = new DatexObject($date, FALSE);
  return $date
    ->monthLastDay();
}