Link | rp_datemenu |
Author | Randy Phillips |
Category | Date |
Version | 8.x |
License | Public Domain |
Posted | 07 Dec 2005 |
Updated | 16 Jan 2006 |
More by this author... |
This tag outputs month, day and year pulldown menus for html forms.
Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
(setformat:'%Y'); else; local: 'this_year' = (Date_GetCurrentDate); #this_year->(setformat:'%Y'); /if; case: 'YY'; if: (local_defined:'yearsbackward'); local: 'this_year' = (date_subtract:(Date_GetCurrentDate), -year=#yearsbackward); #this_year->(setformat:'%y'); else; local: 'this_year' = (Date_GetCurrentDate); #this_year->(setformat:'%y'); /if; /select; //------ add month menu to output variable local: 'output' = ' \r'; //------ add day menu to output variable #output += ' \r'; //------ add year menu to output variable #output += ''; return:#output; /define_tag; ?>
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft