Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78817
| From | Seymore4Head <Seymore4Head@Hotmail.invalid> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Another time question |
| Date | 2014-10-07 20:35 -0400 |
| Message-ID | <sb193a9j6kfq2ev8j6i49imrbvuvnpeijt@4ax.com> (permalink) |
| References | <a7s83a53hh9ssa2ehc9oje7n41m2hhnqob@4ax.com> <mailman.14667.1412724073.18130.python-list@python.org> |
| Organization | Unlimited download news at news.astraweb.com |
On Wed, 8 Oct 2014 10:21:10 +1100, Chris Angelico <rosuav@gmail.com> wrote: >On Wed, Oct 8, 2014 at 10:12 AM, Seymore4Head ><Seymore4Head@hotmail.invalid> wrote: >> I never really cared enough to ask anyone, but something like my cable >> bill is 98$ a month. Do companies (in general) consider a month every >> 30 days or every time the 14th comes around? >> >> I did rent a car once during a time change and I only got to keep the >> car 23 hours. >> >> As another side note I have had drug prescripts that were 28 days was >> considered a month supply. The would be 4 weeks instead of one month. > >I'm not sure how this connects to Python, but I'll assume for now >you're trying to do something up as a script and just haven't told us >that bit... > >With periodic recurring charges, it's common for "month" to mean >"calendar month", resetting every Nth of the month (often 1st, but any >day works). If your mobile data plan costs $35/month and allows you >7GB/month throughput, both those figures will be per calendar month. >For the rest, it depends on what the company's doing. Presumably drug >prescriptions are primarily done on a weekly basis; car rentals will >be on a daily basis. They're not going to say "cars have to be >returned by 8AM, except during DST when they must be returned by 9AM", >because that's just messy; so one day a year, you get an extra hour, >and one day a year, you lose an hour. > >If you tell us what the code is you're trying to work on, we might be >able to advise more usefully. > >ChrisA Actually, the simple python code I am working on is not required to consider those complicated questions, but it still causes me to ponder them.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Another time question Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-07 19:12 -0400
Re: Another time question Chris Angelico <rosuav@gmail.com> - 2014-10-08 10:21 +1100
Re: Another time question Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-07 20:35 -0400
Re: Another time question Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-08 12:39 +1100
Re: Another time question Grant Edwards <invalid@invalid.invalid> - 2014-10-08 14:11 +0000
csiph-web