Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78814 > unrolled thread
| Started by | Seymore4Head <Seymore4Head@Hotmail.invalid> |
|---|---|
| First post | 2014-10-07 19:12 -0400 |
| Last post | 2014-10-08 14:11 +0000 |
| Articles | 5 — 4 participants |
Back to article view | Back to comp.lang.python
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
| From | Seymore4Head <Seymore4Head@Hotmail.invalid> |
|---|---|
| Date | 2014-10-07 19:12 -0400 |
| Subject | Another time question |
| Message-ID | <a7s83a53hh9ssa2ehc9oje7n41m2hhnqob@4ax.com> |
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.
[toc] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2014-10-08 10:21 +1100 |
| Message-ID | <mailman.14667.1412724073.18130.python-list@python.org> |
| In reply to | #78814 |
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
[toc] | [prev] | [next] | [standalone]
| From | Seymore4Head <Seymore4Head@Hotmail.invalid> |
|---|---|
| Date | 2014-10-07 20:35 -0400 |
| Message-ID | <sb193a9j6kfq2ev8j6i49imrbvuvnpeijt@4ax.com> |
| In reply to | #78815 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2014-10-08 12:39 +1100 |
| Message-ID | <543495e3$0$12987$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #78814 |
Seymore4Head 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? What does this have to do with Python? Companies do whatever they want. Some of them consider a month to start from the 1st and end at the end of the month, some of them take 30 days from the date you started, some of them 31 days from when you start, or 28 days (four weeks). Some of them have a fixed starting date. Some of them don't. Some bill you fortnightly, or weekly, or yearly. > I did rent a car once during a time change and I only got to keep the > car 23 hours. I'm not sure how that is relevant to either Python or what companies consider a month, but okay. > 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. Okay. -- Steven
[toc] | [prev] | [next] | [standalone]
| From | Grant Edwards <invalid@invalid.invalid> |
|---|---|
| Date | 2014-10-08 14:11 +0000 |
| Message-ID | <m13gmu$s3u$1@reader1.panix.com> |
| In reply to | #78814 |
On 2014-10-07, 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?
Either/both.
My pre-pay T-Mobile account is every $30 every 30 days, but they call
it "$30 a month". The T-Mobile post-pay contracts were per calendar
month, and the payment was due on the same date every month.
--
Grant Edwards grant.b.edwards Yow! Can you MAIL a BEAN
at CAKE?
gmail.com
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web