function date($format, $timestamp = 0, $decorate = true) { $jalali = new Date(); return $jalali ->format($format, $timestamp, $decorate); }