Skip to main content

date

Short description

Formats a specified local time / date.

Description of this function

date( string $_format  , int $_timestamp  ) : string

Examples

{%
	$_array = {"Id":"100","Name":"Couch Red","Price":"400 €"};

	if (array_key_exists("Price", $_array))
	{
		print("Der Artikel ".$_array["Name"]." kostet ".$_array["Price"]);
	}
%}

To top