The very existence of flamethrowers proves that at some time, some where, some place, someone once said to themselves "I'd really like to set those people on fire over there, but I just can't get close enough".
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by john doah:
actually it is in preparation for a test, and he said there would be something like that on the test, so i am trying to figure out how to do it...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by john doah:
...i will probably have to use a loop, having every 4th year add and extra day because of leap years...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by john doah:
But the thing is that I don't know how to write it...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by marc weber:
Hmmm... I might be wrong here, but if you haven't worked with Date or Calendar classes before, then I guess I would recommend working on your loop approach -- so you know you have something workable that you can demonstrate on a test.
42
Vinay V
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by Chris Beckey:
FWIW and IMHO, always store dates as long (integer) values.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Output is:
29Oct2006:01:10:00
29Oct2006:01:10:00