TwistPHP Documentation

inPast

File path: dist/twist/Core/Utilities/DateTime.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

inPastDetermine if a provided timestamp is in the past when compared to the current timestamp of 'time'

Parameters

Name Type Description
$intTimestampintegern/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$intTimestamp 124;

//Call the function inPast with the example vars
Twist::DateTime() -> inPast($intTimestamp);