Template::Plugin::ByDate 0.03
Sponsored Links
Template::Plugin::ByDate 0.03 Ranking & Summary
File size:
0.004 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
924
Date added:
2007-04-13
Publisher:
Darin McBride
Template::Plugin::ByDate 0.03 description
Template::Plugin::ByDate is a Perl module that keeps/removes included text based on whether the current date is within range.
SYNOPSIS
[% USE ByDate %]
[% FILTER ByDate
starting = 2006-05-02
until = 2006-08-22 %]
This text only shows up from May 2, 2006 through August 22, 2006.
[% END %]
FUNCTIONS
init
filter
We accept one optional argument, the word "not". If specified, it will reverse the meaning of the filter: rather than keeping the text if the current date is between starting and until, ignore it. e.g.,
[% FILTER ByDate
starting = 2006-05-02
until = 2006-08-22 %]
This only shows up inside the date range
[% END %]
while
[% FILTER ByDate
not starting = 2006-05-02
until = 2006-08-22 %]
This only shows up outside the date range
[% END %]
The starting and until dates are actually parsed by Date::Parse. If you do not specify a time, the starting time is 00:00:00, while the until time is 23:59:59. This is done by checking the until stamp for a colon - if there is no colon, we add " 23:59:59" to the string before passing it into Date::Parse. If that doesnt work for you, please let me know what string youre using.
SYNOPSIS
[% USE ByDate %]
[% FILTER ByDate
starting = 2006-05-02
until = 2006-08-22 %]
This text only shows up from May 2, 2006 through August 22, 2006.
[% END %]
FUNCTIONS
init
filter
We accept one optional argument, the word "not". If specified, it will reverse the meaning of the filter: rather than keeping the text if the current date is between starting and until, ignore it. e.g.,
[% FILTER ByDate
starting = 2006-05-02
until = 2006-08-22 %]
This only shows up inside the date range
[% END %]
while
[% FILTER ByDate
not starting = 2006-05-02
until = 2006-08-22 %]
This only shows up outside the date range
[% END %]
The starting and until dates are actually parsed by Date::Parse. If you do not specify a time, the starting time is 00:00:00, while the until time is 23:59:59. This is done by checking the until stamp for a colon - if there is no colon, we add " 23:59:59" to the string before passing it into Date::Parse. If that doesnt work for you, please let me know what string youre using.
Template::Plugin::ByDate 0.03 Screenshot
Advertisements
Template::Plugin::ByDate 0.03 Keywords
ByDate
ByDate 0.03
FILTER ByDate
FILTER
current date
within range
Perl module
Text based
%
date
range
starting
text
current
Template::Plugin::ByDate
TemplatePluginByDate
Bookmark Template::Plugin::ByDate 0.03
Template::Plugin::ByDate 0.03 Copyright
WareSeeker periodically updates pricing and software information of Template::Plugin::ByDate 0.03 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Template::Plugin::ByDate 0.03 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
current date and time
bydatel
current date in java
sql current date
current date time
perl modules
text based games
current date sql
javascript current date
date in asia
text based rpg
current date and time in japan
java get current date
current date in php
install perl module
text based role playing games
starting line products
ranger joe's
Related Software
Template::Plugin::Datum is a Perl module with TT2 plugin that converts international date format to German date format. Free Download
Template::Plugin::Page is a plugin to help when paging through sets of results. Free Download
Template::Plugin::AutoLink is a TT filter plugin to replace URL and e-mail address with hyperlink automatically. Free Download
Template::Plugin::Digest::MD5 is a TT2 interface to the MD5 Algorithm. Free Download
Template::Plugin::Digest::SHA1 is a TT2 interface to the SHA1 Algorithm. Free Download
Template::Plugin::Heritable is a Perl module with OO dispatching and inheritance for templates. Free Download
Template::Plugin::ASCIITable is a Perl module that allows you to use Text::ASCIITable in your templates. Free Download
Template::Plugin::Java is a Perl module that can generate Java Classes from XML description files and templates. Free Download
Latest Software
Popular Software
Favourite Software