public static function firstDayOfWeek($ts = null)
	{
		// default to now
		if ($ts === null) $ts = sfDateTimeToolkit::now();
		
		return sfTime::subtractDay($ts, date('w', $ts));
	}
public static function firstDayOfWeek($ts = null)
	{
		// default to now
		if ($ts === null) $ts = sfDateTimeToolkit::now();
		
		return sfTime::subtractDay($ts, date('w', $ts));
	}
public static function firstDayOfWeek ( $ ts = null ) { // default to now if ( $ ts === null ) $ ts = sfDateTimeToolkit :: now ( ) ; return sfTime :: subtractDay ( $ ts , date ( 'w' , $ ts ) ) ; }
Returns the timestamp for first day of the week for the given date.

@param	timestamp
@return	timestamp
Returns the timestamp for first day of the week for the given date .