Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 371 Bytes
<?php
namespace FreeAgent\Bitter\UnitOfTime;
/**
* @author Jérémy Romey <jeremy@free-agent.fr>
*/
class Day extends AbstractUnitOfTime implements UnitOfTimeInterface
{
public function getDateTimeFormated()
{
return sprintf('%s-%s-%s', $this->getDateTime()->format('Y'), $this->getDateTime()->format('m'), $this->getDateTime()->format('d'));
}
}
Something went wrong with that request. Please try again.