예제 #1
0
파일: sfTime.php 프로젝트: homer6/altumo
 /**
  * Returns the timestamp for last day of the quarter for the given date.
  *
  * @param	timestamp
  * @return	timestamp
  */
 public static function finalDayOfQuarter($ts = null)
 {
     return sfTime::subtractDay(sfTime::firstDayOfQuarter(sfTime::addQuarter($ts)));
 }