You are here

public function Time::getSecond in Time Field For Drupal 8.x / 9.x 8

Same name and namespace in other branches
  1. 2.x src/Time.php \Drupal\time_field\Time::getSecond()

Number of seconds.

Return value

int Number of seconds

File

src/Time.php, line 94

Class

Time
Time class represents time of day.

Namespace

Drupal\time_field

Code

public function getSecond() {
  return $this->second;
}