Added TimeService

This commit is contained in:
Marcin Kurczewski 2014-08-31 16:58:12 +02:00
parent 538b88952e
commit c7051a40e9

View file

@ -0,0 +1,15 @@
<?php
namespace Szurubooru\Services;
class TimeService
{
public function __construct()
{
date_default_timezone_set('UTC');
}
public function getCurrentTime()
{
return date('c');
}
}