\TxTextControl\ReportingCloud\FilterFilterTimestampToDateTimeTrait

Trait FilterTimestampToDateTimeTrait

Summary

Methods
Properties
Constants
filterTimestampToDateTime()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

filterTimestampToDateTime()

filterTimestampToDateTime(int  $timestamp) : string

Convert a UNIX timestamp to the date/time format used by the backend (e.g. "2016-04-15T19:05:18+00:00").

Parameters

int $timestamp

Throws

\TxTextControl\ReportingCloud\Exception\InvalidArgumentException

Returns

string —