User:Glamtre/Template:Birth2Days

Code
Edit this section to edit the code without editing the whole page.

Usage
{ {User:Glamtre/Template:Birth2Days|YYYYMMDD}}

Sample Data
{ {User:Glamtre/Template:Birth2Days}} Returns { {User:Glamtre/Template:Birth2Days|20060428}} Returns { {User:Glamtre/Template:Birth2Days|20070128}} Returns { {User:Glamtre/Template:Birth2Days|20080401}} Returns

To Do

 * Check for date that is greater than current time
 * Check for date older than 20050428
 * Return Error if the date format is wrong