dateText
in package
implements
Stringable
Timestamp to date text view helper
Tags
Interfaces, Classes, Traits and Enums
- Stringable
Table of Contents
- $format : string
- Date format string according to PHP date() function
- $returned : bool
- Flag if element string was return by @see __toString
- $timespan : int
- Unix timestamp
- __construct() : mixed
- Konstruktor
Properties
$format
Date format string according to PHP date() function
protected
string
$format
= ''
$returned
Flag if element string was return by @see __toString
protected
bool
$returned
= false
$timespan
Unix timestamp
protected
int
$timespan
= 0
Methods
__construct()
Konstruktor
public
final __construct(string $timestamp[, string $format = false ]) : mixed
Parameters
- $timestamp : string
- $format : string = false