-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
time_since
Description
Little function to calculate how long ago a time was.
Syntax
string time_since (int $time_diff)
Parameter $time_diff
Expected type: Integer
Description: The difference between two timestamps (in seconds)
Return value
Expected type: String
Description: A formatted and converted time difference
Notes
- Converts the specified time difference to to days, hours, minutes or seconds.
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.021 seconds with 13 queries.
- Forum Search