Go Back   I-Mockery Forum > I-Mockery Discussion Forums > General Blabber
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Sethomas Sethomas is offline
Antagonistic Tyrannosaur
Sethomas's Avatar
Join Date: Aug 2000
Location: The Abstruse Caboose
Sethomas is probably a spambot
Old Jul 5th, 2008, 02:59 AM       
This is what I get for having gone more than 48 hours without logging onto I-Mockery.

Dude, this is fucking awesome. I will say that months ago I manually calculated these dates for a handful of people and your engine aligned with my dates exactly, so we can give a mutual high-five.

One thing that I haven't tested but I wonder about: does it work beyond 28 February 2100 without a 1-day offset? The reason I ask is that most people have no idea how the Gregorian calendar works, and most engines probably assume that 2100 will have a leap day when it actually does not.

So, while I acknowledge that this is a gift to all of humanity, thank you.
__________________

SETH ME IMPRIMI FECIT
Reply With Quote
  #2  
AChimp AChimp is offline
Resident Chimp
AChimp's Avatar
Join Date: Nov 2000
Location: The Jungles of Borneo
AChimp is probably a real personAChimp is probably a real person
Old Jul 6th, 2008, 10:45 AM       
Tuesday, March 22nd, 2011!!

Quote:
Originally Posted by Sethomas View Post
One thing that I haven't tested but I wonder about: does it work beyond 28 February 2100 without a 1-day offset? The reason I ask is that most people have no idea how the Gregorian calendar works, and most engines probably assume that 2100 will have a leap day when it actually does not.
If he's using the functions that I think he's using, then the answer to that is probably yes.
Reply With Quote
  #3  
Protoclown Protoclown is offline
The Goddamned Batman
Protoclown's Avatar
Join Date: Oct 2000
Location: Richmond, VA
Protoclown is probably a spambot
Old Jul 6th, 2008, 05:57 PM       
Monday, October 25th, 2004.

__________________
"It's like I'm livin' in a stinkin' poop rainbow." - Cordelia Burbank
Reply With Quote
  #4  
The Leader The Leader is offline
Is a RoboCop.
 
Join Date: Mar 2008
Location: How do you like these apples, Chojin?
The Leader is probably a real personThe Leader is probably a real person
Old Jul 6th, 2008, 08:17 PM       
Tuesday, October 4th, 2016

So many foolish mistakes to be made, so little time.
Reply With Quote
  #5  
Cfr5 Cfr5 is offline
125% 3D
Cfr5's Avatar
Join Date: Jun 2007
Location: 75° 57' 34" W
Cfr5 is probably a spambot
Old Jul 15th, 2008, 11:59 AM       
Quote:
Originally Posted by Sethomas View Post
This is what I get for having gone more than 48 hours without logging onto I-Mockery.

Dude, this is fucking awesome. I will say that months ago I manually calculated these dates for a handful of people and your engine aligned with my dates exactly, so we can give a mutual high-five.

One thing that I haven't tested but I wonder about: does it work beyond 28 February 2100 without a 1-day offset? The reason I ask is that most people have no idea how the Gregorian calendar works, and most engines probably assume that 2100 will have a leap day when it actually does not.

So, while I acknowledge that this is a gift to all of humanity, thank you.
And I missed all the happenings myself since I never log in regularly. What's it been, nearly two weeks for me? Why am I asking?

First off, I'm glad you found use out of it. I figured you already did the math by now and you wouldn't need it. Then I still decided to make it so that non-10,000 days could be found. Just in case, be prepared, etc.

Quote:
Originally Posted by AChimp View Post
If he's using the functions that I think he's using, then the answer to that is probably yes.
The only date functions it uses are checkdate, gmmktime, and date. gmmktime limits the output date to a range that the server the script is on can handle. Mashing values into what I made until getting the last date before going back to 1969 gave Monday, January 18th, 2038 as the latest date. That is probably no notable date in the calendar system. Although I hate to say it, theoretically the script would work forever, which is stupid because theory doesn't stop the program in 2038.

Don't be too impressed; I did it the hack way. The calculation itself is one line of code. The rest of the code is a simple input check and then the output. It's 22 lines total, excluding the HTML surrounding the output. If I knew every detail of the calendar system then a more extended version could be started which could probably work with later dates. I am not sure whether to bother with that. It sounds initially nasty.

I'm glad the person whose name is in the thread title actually saw it and responded. Sorry for my slowness. By now my hand is nearly in high five position.

I got to shave again now before work. This time probably won't result in a web script based on a stale forum post though.
__________________
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

   


All times are GMT -4. The time now is 09:32 AM.


© 2008 I-Mockery.com
Powered by: vBulletin
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.