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