Jump to content

Category talk:Date mathematics templates

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This week

[edit]

Today's date is November 13.

The current week began on Sunday, Sunday, 10 November

Overlap

[edit]

The overlap between the different templates actually doesn't seem too bad;

  1. 'Month+1' and 'Ed Poor/next month' are identical except for optional parameter and 'CURRENTMONTH' vs 'CURRENTMONTHNAME'.
  2. 'Day+1' and 'Ed Poor/tomorrow date' have similar intent, but very different implementation.
  3. 'Daycap' and 'Ed Poor/days in month' serve somewhat similar functions.

It shouldn't be too difficult to sort these out and come up with consistent naming methods. --CBDunkerson 18:41, 27 March 2006 (UTC)[reply]

Zoo (examples)

[edit]

Note that this category contains templates that currently needed more work and unification. Some of them are trials, and lack proper documentation and test cases. Use these templates with care, as they will need more cleanup.

Today's date is November 13.

The current US week began on Sunday, 11 November

last month:
October
November has
17 days
left in it
yesterday:
Tuesday
12 November
day after tomorrow:
Friday
15 November
next month:
December

There are 17 days remaining in November.

These templates help you with dynamic date calculations:

1 January 1901 was 123 years, 10 months and 12 days ago.

Right now, yesterday is wrong. It's says "yesterday: Wednesday May 1". It got the DOW right, but today is the 1st. Rocket000 (talk) 22:17, 1 May 2008 (UTC)[reply]
Oh and the day after tomorrow is the 3rd, not the 4th. Rocket000 (talk) 22:18, 1 May 2008 (UTC)[reply]
Okay, so is it time to put this animal out of its misery? I made a whole bunch of date calculating templates a few years ago (late 2006), but maybe they have been superseded by something better. Is it time to delete the lot of them? --Uncle Ed (talk) 17:56, 23 February 2010 (UTC)[reply]

Infant age

[edit]

I need help creating a new template for infant age or possibly a combination birth date and age template. I have looked at the templates at Category:Date mathematics templates. I think a template converted age for infants under 1 year to ## mos. and ## days and switched to ## yrs and ## mos. from say 1-3 and then just years above. However, maybe I need two new templates for {{age in months and days}} and {{Age in years and months}}. I have already posted at

  1. {{Birth date and age}} - Template_talk:Birth_date_and_age#Infant_parameterization
  2. {{Age in years and days}} - Template_talk:Age_in_years_and_days#Infant_age
  3. {{User current age}}'s leading editor - User_talk:Alfakim#Infant_age_template--TonyTheTiger (t/c/bio/tcfkaWCDbwincowtchatlotpsoplrttaDCLaM) 22:07, 2 October 2007 (UTC)[reply]
P.S. for usage see a page like the children section of Tiger Woods's infobox.--TonyTheTiger (t/c/bio/tcfkaWCDbwincowtchatlotpsoplrttaDCLaM) 22:08, 2 October 2007 (UTC)[reply]