phpGPX\Helpers\DateTimeHelper
===============

Class DateTimeHelper




* Class name: DateTimeHelper
* Namespace: phpGPX\Helpers







Methods
-------


### comparePointsByTimestamp

    boolean|integer phpGPX\Helpers\DateTimeHelper::comparePointsByTimestamp(\phpGPX\Models\Point $point1, \phpGPX\Models\Point $point2)





* Visibility: **public**
* This method is **static**.


#### Arguments
* $point1 **[phpGPX\Models\Point](phpGPX-Models-Point.md)**
* $point2 **[phpGPX\Models\Point](phpGPX-Models-Point.md)**



### formatDateTime

    null|string phpGPX\Helpers\DateTimeHelper::formatDateTime($datetime, string $format, string $timezone)





* Visibility: **public**
* This method is **static**.


#### Arguments
* $datetime **mixed**
* $format **string**
* $timezone **string**



### parseDateTime

    \DateTime phpGPX\Helpers\DateTimeHelper::parseDateTime($value, string $timezone)





* Visibility: **public**
* This method is **static**.


#### Arguments
* $value **mixed**
* $timezone **string**


