Today we talk about how in Magento 2 Current Store Date Time. Following this example you can get store date and time in block, helper, controller or model too. So let start with our example.
You need to inject in your class constructor an instance of Magento\Framework\Stdlib\DateTime\DateTime.
public function __construct(
$this->date = $date;
Then, you can use in your class this:
Give A Rating
Average Rating / 5. Vote Count