ThinkPHP/Library/Vendor/Smarty/pluginsshared.make_timestamp.php

Smarty shared plugin

Functions

smarty_make_timestamp()

smarty_make_timestamp(\DateTime|integer|string  $string) : integer

Function: smarty_make_timestamp<br> Purpose: used by other smarty functions to make a timestamp from a string.

Parameters

\DateTime|integer|string $string

date object, timestamp or string that can be converted using strtotime()

Returns

integer