Duration since Added

Here you can find plenty of help with your general coding needs and projects
If it is about a specific program, use the corresponding forum
DO NOT ask basic questions such as "How do I print a variable", use Google for that

Duration since Added

Postby kaleyn » Thu Jan 11, 2007 9:09 pm

The goal: To add a "Duration since Added" field to the memberlist.

Currently I'm trying to add it to the "Memberlog" page.

I figure it should be an easy thing to do since the field is already populated with the "Date Added" field. Just need to calculate the number of days between that and today.

I see that in MySQL the format is a date-time stamp. But when it reaches the webpage, it's been changed to the format of "D M d h:m"

So my main question is: Where in the code does it convert the formating for the field?

I'm not very proficient with PHP, but I'm scanning the code and tracing it back. I'll continue to do this, but if anyone has a suggestion, I'd love to hear it ;)

Also, if this is a stupid question, please let me know too. I'm not very bright.

Thanks,

Kaleyn
User avatar
kaleyn
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jan 08, 2007 7:59 pm

Return to General Code Help

Who is online

Users browsing this forum: No registered users and 2 guests

cron