public static function h2d($from) { return empty($from) ? $from : sfDate::from_human($from)->to_database(); }