Labyrinth::DTUtils - Date & Time Utilities for Labyrinth
use Labyrinth::DTUtils;
Various date & time utilities.
everything
Provides a Day dropdown selection box.
The option $opt allows the given day (numerical 1 - 31) to be the selected option in the dropdown. If blank is true, a 'Select Day' option is added as the first option to the dropdown.
Provides a Month dropdown selection box.
The option $opt allows the given month (numerical 1 - 12) to be the selected option in the dropdown. If blank is true, a 'Select Month' option is added as the first option to the dropdown.
Provides a Year dropdown selection box.
If is specified, then the following criteria is used:
0 - default 1 - given dates, see $dates list 2 - oldest year to current year 3 - current year to future year
For oldest year, this is determined by the configuration setting 'year_past_offset' or 'year_past'. For the future year, this is determined by the configuration setting 'year_future_offset'.
If the range is set to 1, the list of dates given in the $dates array reference will be used.
Provides a Period dropdown selection box.
The option $opt allows the given period to be the selected option in the dropdown. If blank is true, a 'Select Period' option is added as the first option to the dropdown.
Current valid periods are:
opt value ------------------- evnt-month Month evnt-week Week evnt-day Day
Time::Local Labyrinth
Barbie, <barbie@missbarbell.co.uk> for Miss Barbell Productions, http://www.missbarbell.co.uk/
Copyright (C) 2002-2015 Barbie for Miss Barbell Productions All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the Artistic License 2.0.
To install Labyrinth, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Labyrinth
CPAN shell
perl -MCPAN -e shell install Labyrinth
For more information on module installation, please visit the detailed CPAN module installation guide.