PDA

View Full Version : Stupid Question: How Many Days Are There From July 10 to July 22, 2011?



Margarita Skies
07-22-2011, 09:24 PM
I am asking because I typed exactly that on Google search and it would give me how many days there are between July 10, 1971 and July 22, 2011, or something random like that, and how many days there are between July 1 and Aug. 1, but no results on my exact question. Do you think you guys can help me out on this? I started my second WIP on July 10 and I need to know if I am behind on it. From July 10 I've written 2k words a day on that WIP.


Thanks
Magali.

tjwriter
07-22-2011, 09:32 PM
Well..... 22-10=12 days, but that doesn't count the 10th as a day, so you have to add one more day, so that's 13 days.

Or you just could count on your fingers and toes. Or someone's fingers and toes if yours are missing. Or count each day on a calendar or something.

Margarita Skies
07-22-2011, 09:50 PM
Well..... 22-10=12 days, but that doesn't count the 10th as a day, so you have to add one more day, so that's 13 days.


Ok, thanks for your answer.



Or you just could count on your fingers and toes. Or someone's fingers and toes if yours are missing. Or count each day on a calendar or something.


Ok, I am going to count the...nah, forget it, I am not going to say something I will regret later.

Medievalist
07-22-2011, 10:07 PM
This isn't a stupid question; it's actually rather clever.

It involves a concept familiar to programmers and mathematicians called the "Off by one" or "Fencepost" error. Read all about it (http://www.dsm.fordham.edu/~moniot/Opinions/fencepost-error-history.shtml)!

Margarita Skies
07-23-2011, 12:50 AM
This isn't a stupid question; it's actually rather clever.

It involves a concept familiar to programmers and mathematicians called the "Off by one" or "Fencepost" error. Read all about it (http://www.dsm.fordham.edu/~moniot/Opinions/fencepost-error-history.shtml)!


OK. Thank you. :)

shadowwalker
07-23-2011, 01:37 AM
I have a story that involves keeping track of how many days, months, and years between various events. I use this:

http://www.timeanddate.com/date/duration.html

which also allows me to either include or not the end date.

Margarita Skies
07-23-2011, 02:53 AM
I have a story that involves keeping track of how many days, months, and years between various events. I use this:

http://www.timeanddate.com/date/duration.html

which also allows me to either include or not the end date.


That's great! Thank you so much!! I added it to my favorites! :Thumbs:

Cliff Face
07-23-2011, 02:57 AM
I love the "off by one" rule. :)

And yeah, the answer was 13.