You are here

public function DatexObject::setDayBad in Datex 7.2

A bad method which set's day directly.

A must have for when dealing with dates which have been stored as timestamp according to a format without month but with year and day.

File

datex_api/datex_api.class.inc, line 826
Provides an API to work with dates.

Class

DatexObject
Base class for localized DateTime.

Code

public function setDayBad($day) {
  $this->day = $day;
  return $this;
}