You are here

function StatisticsProBaseTestCase::getFormatedAddedDate in Statistics Pro 6

File

tests/statspro.test, line 87
Functionality tests for Statistics Pro.

Class

StatisticsProBaseTestCase
Base class for Statistics Pro tests.

Code

function getFormatedAddedDate($timestamp, $diff = 0, $diff_unit = 'd') {
  $new_timestamp = $this
    ->getAddedDate($timestamp, $diff, $diff_unit);
  return $this
    ->getFormatedDate($new_timestamp);
}