grantus Active member Jan 6, 2025 #1 Inside my template I need to calculate a time from my db table (in UNIX format) then divide a value, minus the current time, and then format it. For example: Code: ({$item.end_date} / 60) - {$xf.time} Is $xf.time already in UNIX format? Last edited: Jan 6, 2025
Inside my template I need to calculate a time from my db table (in UNIX format) then divide a value, minus the current time, and then format it. For example: Code: ({$item.end_date} / 60) - {$xf.time} Is $xf.time already in UNIX format?