public_html/wp-content/plugins/wp-statistics/includes/classes/statistics.class.php
// This function returns an internationalized date string in the desired format.
This function returns an internationalized date string in the desired format.
This function returns an internationalized date string in the desired format .
public function Current_Date_i18n( $format = 'Y-m-d H:i:s', $strtotime = null, $day=' day' ) {
		if( $strtotime ) {
			return date_i18n( $format, strtotime( "{$strtotime}{$day}" ) + $this->tz_offset );
		} else {
			return date_i18n( $format, time() + $this->tz_offset );
		}
	}
public function Current_Date_i18n ( $ format = 'Y-m-d H:i:s' , $ strtotime = null , $ day = ' day' ) { if ( $ strtotime ) { return date_i18n ( $ format , strtotime ( " { $ strtotime } { $ day } " ) + $ this -> tz_offset ) ; } else { return date_i18n ( $ format , time ( ) + $ this -> tz_offset ) ; } }
This function returns an internationalized date string in the desired format.
This function returns an internationalized date string in the desired format .