Easy Tutorial
❮ Func String Md5 Func String Implode ❯

PHP date_timestamp_get() Function

PHP Date/Time Reference Manual

Example

Returns the Unix timestamp for today's date and time:


Definition and Usage

The date_timestamp_get() function returns the Unix timestamp.

Syntax

Parameter Description
object Required. Specifies a DateTime object returned by date_create()

Technical Details

Return Value: Returns the Unix timestamp representing the date.
PHP Version: 5.3+
--- ---
❮ Func String Md5 Func String Implode ❯