szurubooru/src/Services/TimeService.php

16 lines
194 B
PHP
Raw Normal View History

2014-08-31 16:58:12 +02:00
<?php
namespace Szurubooru\Services;
class TimeService
{
public function __construct()
{
date_default_timezone_set('UTC');
}
public function getCurrentTime()
{
return date('c');
}
}