This tag examines the url of the current page and populated four variables: y for year, d for day, m for month, and monthtitle (the name of the month referenced in m). With access to those bits of information, your Textpattern install can be customized to do Yearly, Monthly and Daily Archives in a manner similar to what you may have seen from some other CMS.
There was an earlier version of this plugin called mkp_archives that I lost when the Textdrive hosting service went down. But I think this one is actually an improvement anyway. Also thanks to adi_gps and smd_if for some definite inspiration.
Just use <txp:mkp_url_parameters /> at the top of a page or form where you need to capture URL information. For a better explanation, you will want to visit the Demo Site.
<txp:mkp_url_parameters />
Version 1.0: October 22nd, 2014
Version 1.1: October 29th, 2014 (added Subdirectory Check)
Version 1.2: June 3rd, 2016 (added Textpattern 4.6 Tag Registration and uses isset to prevent PHP errors from being generated)