TwistPHP Documentation

getAge

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

getAge

Parameters

Name Type Description
$intTimestampintegern/a
$this-n/a
$intTimestampintegern/a

Return Values

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

Example

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

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