Please enable JavaScript to view this site.

Process Designer

Navigation: PHP API > Date and time zone

Current time stamp (getTimestamp)

Scroll Prev Top Next More

This function allows you to determine the UNIX timestamp for an unformatted date value, such as the one returned when calling up e.g. the function getTableValue for a date field.

Parameter

Type

Description

$date

string

Date in this format: YYYY-MM-DD HH:MM:SS

This function returns the UNIX time stamp for the entered date.

Example:

$timestamp = $this->getTimestamp($this->getTableValue('DATE'));