You are here

public function TaxRatePercentage::getStartDate in Commerce Core 8.2

Gets the start date.

Parameters

string $store_timezone: The store timezone. E.g. "Europe/Berlin".

Return value

\Drupal\Core\Datetime\DrupalDateTime The start date.

File

modules/tax/src/TaxRatePercentage.php, line 101

Class

TaxRatePercentage
Represents a tax rate percentage.

Namespace

Drupal\commerce_tax

Code

public function getStartDate($store_timezone = 'UTC') {
  return new DrupalDateTime($this->startDate, $store_timezone);
}