HRWiki:Sandbox
From Homestar Runner Wiki
(Difference between revisions)
GreenHelmet (Talk | contribs) (uh oh) |
(Trying out these ParserFunctions...) |
||
| Line 41: | Line 41: | ||
It's the infamous Y2.038k bug! | It's the infamous Y2.038k bug! | ||
| + | ---- | ||
| + | So I just found out about these [[Help:ParserFunctions|ParserFunctions]] a minute ago. Let's see... | ||
| + | |||
| + | {{#rand: 1 | 100}} is a random number between 1 and 100. | ||
| + | {{#ifexpr: 463 + 356 = 819 | 463 + 356 is 819. | 463 + 356 is not 819.}} | ||
| + | {{#expr: 2457835 / 2567 * 2456 / 45 round 1}} | ||
| + | {{#ifexist: HRWiki:Sandbox | The sandbox exists. | The sandbox does not exist.}} | ||
| + | |||
| + | That's cool. {{User:Thy Not Dennis/sig}} 10:24, 20 May 2009 (UTC) | ||
Revision as of 10:24, 20 May 2009
- Years since 21 May 2007: 18
- Years since 18 May 2007: 18
- Years since 1976: 49
- Years since May 1976: 49
- Years since June 1976: 49
- Years since 20 years ago: 20
- Years since last week: 0
- Years since next year: -1
- Years since 26 fortnights ago: 0
- Years since 27 fortnights ago: 1
- Years since Halloween 1986: Expression error: Unexpected < operator
- Days since 18 May 2009: 6015
- It's not off. If we are going by UTC Time, it's correct. Homestar-Winner (talk) 01:36, 20 May 2009 (UTC)
- Yeah, you're right, I just realized that. Here are some other tests:
- Days since yesterday: 1
- Days since next year: -365
- Days since April 3, 1982: 15922
But this one currently won't work:
- Hey, in a few months, I'll be ten thousand days old! Cool! --Jay (Gobble) 01:42, 20 May 2009 (UTC)
- Well, I left it open for Dot com to come up with a solution... but, instead, he just removed all hints of it. Whatever. At least it works for anything from the last few decades. --Jay (Gobble) 01:48, 20 May 2009 (UTC)
- All hints of what? Sure we could mess with all the leap years and make it work for any year, but what would be the use? There's no practical use on this wiki for dates prior to 1970 (or, really, around the turn of this century), so anything more is just academic. — It's dot com 01:52, 20 May 2009 (UTC)
- Not sure that's true, we may need to deal with old-timey dates or whatnot... — Defender1031*Talk 01:54, 20 May 2009 (UTC)
- No, he's got a point. I was just making it with yearssince as a template without considering how useful the feature would be. --Jay (Gobble) 01:56, 20 May 2009 (UTC)
- And if we want to talk about Old-Timey stuff, like how That a Ghost was allegedly released 88 years ago, yearssince works. Why would we enumerate the days? --Jay (Gobble) 01:57, 20 May 2009 (UTC)
- And I completely missed your edit summary since I got Edit Conflict'd. ;) --Jay (Gobble) 01:58, 20 May 2009 (UTC)
- Not sure that's true, we may need to deal with old-timey dates or whatnot... — Defender1031*Talk 01:54, 20 May 2009 (UTC)
- All hints of what? Sure we could mess with all the leap years and make it work for any year, but what would be the use? There's no practical use on this wiki for dates prior to 1970 (or, really, around the turn of this century), so anything more is just academic. — It's dot com 01:52, 20 May 2009 (UTC)
- Days since 17 Jan 2038: -4456
- Days since 18 Jan 2038: -4457
- Days since 19 Jan 2038: -4458
- Days since 20 Jan 2038: Expression error: Missing operand for -
It's the infamous Y2.038k bug!
So I just found out about these ParserFunctions a minute ago. Let's see...
77 is a random number between 1 and 100. 463 + 356 is 819. 52256.8 The sandbox exists.
That's cool. Thy Not Dennis (t/c) 10:24, 20 May 2009 (UTC)
