in spreadsheet, how do I calculate the number of days there are until Christmas next year?
830273
=DATE(2007,12,25)-TODAY()\n\nFor OpenOffice use semicolons instead of commas.
960513
December 30th\n\nThis means the third day before (ante diem) the Kalends (1st) of January.  The Romans counted the day itself when calculating dates, so the first of January is day one, December 31st is day two, and December 30th is day three.
967898
Here are a couple sites with Christmas countdowns:\n\nhttp://www.wishafriend.com/countdown/christmas/\n\nhttp://www.xmasjoys.com/christmas_countdown/
399349
I can't really figure out what you are trying to do? How are the numbers going to be turned into months? How are you trying to output them? I don't know if you left this code out, but this would be helpful in answering. Please post more details.
320999
Write into the cell 49,417*1.077^x\nx is how many months
248642
Your best bet is probably to use Perl and the Date::Calc module
833110
http://en.wikipedia.org/wiki/Christmas\n\nWell, if Luke 1:26 says Elizabeth was 6 months along, and Mary was just getting on, then the math would indicate you are correct.\n\nThe above link discusses the way December 25th came about.
1147092
28\n\nleap years (which have Feb.29-th) are all divisible by 4
1084922
N = d + 2m + [3(m+1)/5] + y + [y/4] - [y/100] + [y/400] + 2\n\nd = day of the month\n\nm = number of the month ( for Jan and Feb use 13, 14 of the             previous year, e.g. for feb 18 2003 d=18 m=14 y=2002\n\ny = the year \n\nApril 1, 2007\n\nN = 1+2(4)+{3(4+1)/5}+2007+{2007/4}+{2007/100}-{2007/400}+2\n\nFor numbers in brackets use the whole number, drop everything after the decimal\n\nN=1+8+{3(5)/5}+2007+501+20+5+2\nN=9+15/5+2515\nN=9+3+2515\nN=2527\n\nnow divide N by 7\n\n2527/7=361.0   the number after the decimal is the day of the week. 0 in this case.\n\n0=Sun\n1=Mon\n2=Tue and so on\n\nOr for an easier way, just look on a digital calander
47323
If you just type January into the first cell, you can click and drag on the small black square in the bottom right of that cell and Excel will automatically fill in months for as long as you want to keep dragging.  This will work either across or down.
1068967
It seems that you may have a sum function built into this thing--you know how many times the code GHI occurs, for example.  Maybe you manually counted them, but I suspect they are tabulated for you in some way.\n\nSo build a table.  The first column would list any possible code for a given day.  The second column would list any possible code for the following day.  The third column lists how many times that occurs.\n\nFor example, suppose that the only possibilities are A, B, and C.  I might have the following table:\nA A 5\nA B 3\nA C 4\nB A 7\nB C 2\nC A 1\nNotice that this means that an "A" day has been followed by an "A" day 5 times, by a "B" day 3 times, etc.  A "B" day has never been followed by a "B" day.\n\nOnce this table is created, simply sort it, using Column 1 as the first sort key, column 3 as the second sort key (putting the most likely successor at the top of the list), and column 2 as the third sort key.
765887
Assuming your above program works, which I don't think it will because your doing an aggregate operation on an array..you should assign values to indexes in the array...eg cin >> Date[0] or use a for loop or something...regardless since your putting everything in an array anyway simply do something like using a counter variable, personally i think it would be the easiest way of doing something like that.\n\nint counter = 0;\n\ncout << enter day to subtract << endl;\ncin   >> counter;\ncout << Date[1]  - Date[counter] << endl;\n\nI belive using
750435
Why not use four columns for each date with the time of each admission or discharge in the cells?\n\nDay Admission.... Day Discharge.... Night Admission.... Night Discharge\n8:00 am.... 8:30 am.... 6:00 pm.... 7:00 pm\n8:15 am.... 10:00 am.... 6:15 pm.... 9:00 pm\n9:15 am.... 11:00 am.... 11:15 pm.... 10:00 pm\nblank.... 12:00 pm.... blank.... 10:15 pm\nblank.... blank.... blank.... 10:45 pm\n\n\nThis way you could have some other cells use the count function to calculate that in the above example there were three day admissions, four day discharges, 3 night admissions, and 5 night discharges.
398538
An easy way to figure it out would be to look at a Julian Calender.  Which show the dates represented by a number...  Jan 1st, is 1; Jan 2 is 2 and December 31 is 365.   \n\nSo to answer your question:  365 divided by 2 equals 182.5) So the exact half is at Midnight on July 2nd.  Next yeat is leap year so it would be (366 divided by 2 equals 183) July 3rd.  Hope this is helpful.
1049347
Go here:\n\nhttp://mathforum.org/dr.math/faq/faq.calendar.html
610232
Make one on a spreadsheet
419180
Day before yesterday = 27\nYesterday = 45\nToday = 135\nTomorrow = 180