12-04-2015, 05:04 PMAndresXZ09 Wrote:12-04-2015, 04:56 PMAmN Wrote: its simple.
Years of service = time() - $member['regdate'];
then convert the timestamp to years.
Could you explain mean what do you mean with timestamp? I'm noob with the code :noh:
http://www.unixtimestamp.com/
Converting something like 1428851142 to 04/12/2015 @ 3:05pm (UTC)