示例#1
0
 public function convertDatesUTCLocal()
 {
     $utcTime = Utils::convertLocalDateTimeToUTC(new DateTime('now'));
     echo "UTC:" . json_encode($utcTime);
     $localTime = Utils::convertUTCDateTimetoLocal($utcTime);
     echo "MOUNTAIN" . json_encode($localTime);
 }