![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Automatic Billing
From: Kimmo Laine <eternal.erectionN0.5P@Mgmail.com>
Date: Sun Jul 31 2005 - 19:27:26 CEST
"Dream Web Host" <robjones2005@blueyonder.co.uk> kirjoitti
Don't know exactly what you are looking for, but one thing is sure, if you
Different number of days in month is no problem, you can get the number of
With mktime(0,0,0, $month,1,2005) you can create timestamps for billingdates
With strtotime() you can advance by days, months. I'm not sure if years, but
$next_billing_date = strtotime("+$months months", $current_billing_date);
You should get started with those. Feel free to explain your problem further
-- SETI @ Home - Donate your cpu's idle time to science. Further reading at <http://setiweb.ssl.berkeley.edu/> Soulman <eternal.erectionN0@5P4Mgmail.com>Received on Tue Oct 18 02:06:35 2005 |