public function formatDate($show_hour = false, $show_min = false)
    {
        // Tria, Thermis 07, 4th AC 2546
        $ig = '%s, %s %02d, %d%s %s %d';
        $str = sprintf(
            $ig,
            $this->getDayName(),
            $this->getMonthName(),
            $this->getDate(),
            $this->getCycle(),
            $this->translateTh($this->getCycle()),
            $this->translateAtysCycle(),
            $this->getYear()
        );
        if ($show_hour) {
            $str = $this->toTimeString($show_min) . ' - ' . $str;
        }

        return $str;
    }
public function formatDate($show_hour = false, $show_min = false)
    {
        // Tria, Thermis 07, 4th AC 2546
        $ig = '%s, %s %02d, %d%s %s %d';
        $str = sprintf(
            $ig,
            $this->getDayName(),
            $this->getMonthName(),
            $this->getDate(),
            $this->getCycle(),
            $this->translateTh($this->getCycle()),
            $this->translateAtysCycle(),
            $this->getYear()
        );
        if ($show_hour) {
            $str = $this->toTimeString($show_min) . ' - ' . $str;
        }

        return $str;
    }
public function formatDate ( $ show_hour = false , $ show_min = false ) { // Tria, Thermis 07, 4th AC 2546 $ ig = '%s, %s %02d, %d%s %s %d' ; $ str = sprintf ( $ ig , $ this -> getDayName ( ) , $ this -> getMonthName ( ) , $ this -> getDate ( ) , $ this -> getCycle ( ) , $ this -> translateTh ( $ this -> getCycle ( ) ) , $ this -> translateAtysCycle ( ) , $ this -> getYear ( ) ) ; if ( $ show_hour ) { $ str = $ this -> toTimeString ( $ show_min ) . ' - ' . $ str ; } return $ str ; }
Convert shard tick to readable atys date using currently set language

@param bool $show_hour if set to true, include hour. if $show_min is false, then also append 'h'
@param bool $show_min  if set to true, include minutes. only used if $show_hour is also true

@return string
Convert shard tick to readable atys date using currently set language