• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How to figure average posts per day?

bmacd

Lifer
Is there any PHP/javascript or any other web language app that can figure average posts per day?

For example...

User enters date of registration and total number of posts. Then the program spits out an average posts per day. It's simple mathematics, but i was hoping there was something already made.

I'm programming defunct.

-=bmacd=-
 
Originally posted by: ndee
that would be about 5 lines of code, right? Why don't you do it yourself? 1 minute job, no?

eh.. I don't know.. figuring out the number of days between two dates is probably a bigger pain in the ass then most people realize (unless PHP or whatever you use has better date logic than something like java has).
 
Originally posted by: Hector13
Originally posted by: ndee
that would be about 5 lines of code, right? Why don't you do it yourself? 1 minute job, no?

eh.. I don't know.. figuring out the number of days between two dates is probably a bigger pain in the ass then most people realize (unless PHP or whatever you use has better date logic than something like java has).

I'm used to PHP programming. Why is it such a pain in the ass? And he mentions PHP so....
 
Originally posted by: ndee
Originally posted by: Hector13
Originally posted by: ndee
that would be about 5 lines of code, right? Why don't you do it yourself? 1 minute job, no?

eh.. I don't know.. figuring out the number of days between two dates is probably a bigger pain in the ass then most people realize (unless PHP or whatever you use has better date logic than something like java has).

I'm used to PHP programming. Why is it such a pain in the ass? And he mentions PHP so....

so PHP has date (or calendar) classes that will do the calculation for you? ie, you pass in two dates and it will give you the number of days between them? I know java can't do this (with its standard libraries).
 
Back
Top