Function forum_time
Gets the current time with offset.
- always applies the offset in the time_offset setting.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
boolean |
$use_user_offset = true |
Whether to apply the user's offset as well |
integer |
$timestamp = null |
A timestamp (null to use current time) |
integer
|
Seconds since the unix epoch, with forum time offset and (optionally) user time offset applied |