Home > Article > Backend Development > php timestamp formatting problem
I saw that some clients are still using the segmentfault website. After posting a question, answer or comment, a more user-friendly time prompt of just now, a few minutes ago, a few hours ago will appear. Please give me the specific instructions. How to calculate?