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