You are here

public static function DatexObjectUtils::monthFirstDay in Datex 7

Returns first day of a month.

File

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

Class

DatexObjectUtils
Utitilities to work with a DatexObject

Code

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