![]() |
years of service support - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Design (https://sinister.ly/Forum-Design) +--- Forum: Web Design (https://sinister.ly/Forum-Web-Design) +--- Thread: years of service support (/Thread-years-of-service-support) |
years of service support - Tutti Frutti - 09-12-2017 I have this code placed inside my postbit_classic.. Code: <setvar years>floor((TIME_NOW-$post['regdate'])/(60*60*24*365))</setvar> One problem though it's showing 0 years of service on everyones user info, someone told me to add if statement but how would I be able to do that? Thanks. |