Entertainment
 
[Argadi]

Argadi 2,970 edits since June 15, 2008

2,970

User:Argadi/sandbox

From Girl Genius

Contents

[edit] Just hacking

[edit] time play

1 (1 for Monday, 7 for Sunday)

sub: abcd

time: today: 20091109 ; two days ago: 20091107 ; today also: 20091109

- days

From http://girlgenius.wikia.com/index.php?title=Template:GG_Page-by-Page_Forum_Link&action=edit pull out code for day and link, put in template.

Combine above and Template:GG Page-by-Page Forum Link into one, then feed date into

[edit] time zones

Now

time: 2009 November 9 20:15:28 : 1 (1 for Monday, 7 for Sunday)


eastern time (w/ DST): 2009 November 9 20:15:28 : 1 (1 for Monday, 7 for Sunday)

+18 time zone: 2009 November 9 20:15:28 : 1 (1 for Monday, 7 for Sunday)

Two days ago

time: 2009 November 7 20:15:28 : 6 (1 for Monday, 7 for Sunday)

eastern time (w/ DST): 2009 November 7 20:15:28 : 6 (1 for Monday, 7 for Sunday)

+18 time zone: 2009 November 7 20:15:28 : 6 (1 for Monday, 7 for Sunday)

[edit] id numbers

Time as numbers are treated as yyyy-mm-dd or yyyymmdd: Wed, 04 Feb 2009 00:00:00 +0000 Wed, 04 Feb 2009 00:00:00 +0000

day of year of 4 February (1 jan = 0): 34 34

day of week (Sunday=0) of 1 January: 4; of 4 February: 3

Goal: first day of year saturday, sunday, monday: monday 1, wed 2, fri 3, second mon 4, ...;

 calculation of adder based on day of week and first comic of year
  m w f foy
1m0 2 1
3w1 0 2
5f2 1 0

abc 0

abc ff

0

0

The expression used the the table below, which could be a template, converts the date into the zero-based index of the comic in the current year. Add the year times 1000, and you have a unique comic identifier that doesn't count non-comic days. You then can say:

  • 20090000 through 20090004 -- add the last four digits to 18 and you have the Cinderella page number
  • 20090005 -- volume ix front cover
  • 20090006 though sometime -- subtract 5 from the last four digits an you have the volume ix online page number
  • 20070000 through sometime -- add 132 to the last four digits to get the print version page number, add 126 to get the online page number
year
2009 0102 0 0102 1 0102 2 0102 3 0102 4 0102 5 0102 6
2008 0102 0 0102 1 0102 2 0102 3 0102 4 0102 5 0102 6

[edit] old table

Keeping this table because I might want the purple and shaded purple if we add another column to the table later.

Identifier
Page
Characters
Actions
Quotes
Names Used Text Extras Reserved


20080204 Vol.VIII p. 56 Discuss 2008-02-04 Maxim, Ognian, Dimo, Gil, Zeetha, Vanamonde, Higgs, Krosp, Franz
action here
"yah. yah. heterodynes forever. now shotop. trying to sleep. here."
names used text here extras here This cell intentionally left blank.