Documentation

dateText
in package
implements Stringable

Timestamp to date text view helper

Tags
author

Stefan Seehafer sea75300@yahoo.de

copyright

(c) 2011-2022, Stefan Seehafer

license

http://www.gnu.org/licenses/gpl.txt GPLv3

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
Return values
mixed

Search results