FilterTimestampToDateTimeTrait
Trait FilterTimestampToDateTimeTrait
Table of Contents
Methods
- filterTimestampToDateTime() : string
- Convert a UNIX timestamp to the date/time format used by the backend (e.g. "2016-04-15T19:05:18+00:00").
Methods
filterTimestampToDateTime()
Convert a UNIX timestamp to the date/time format used by the backend (e.g. "2016-04-15T19:05:18+00:00").
public
static filterTimestampToDateTime(int $timestamp) : string
Parameters
- $timestamp : int