\TxTextControl\ReportingCloud\FilterFilterDateTimeToTimestampTrait

Trait FilterDateTimeToTimestampTrait

Summary

Methods
Properties
Constants
filterDateTimeToTimestamp()
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

filterDateTimeToTimestamp()

filterDateTimeToTimestamp(string  $dateTimeString) : int

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

Parameters

string $dateTimeString

Throws

\TxTextControl\ReportingCloud\Exception\InvalidArgumentException

Returns

int —