/** * Format an access date for website or database (MLA) * * @param $day * @param $month * @param $year * * @return string */ function formatAccessDate($day, $month, $year) { $ret = ''; if (Utility::showDay($month)) { $ret = $day . " "; } $ret .= $this->shortenMonth($month) . " "; $ret .= $year; return $ret; }