ad_future_years_list (public)

 ad_future_years_list [ num_year ]

Defined in packages/acs-tcl/tcl/widgets-procs.tcl

Returns a list containing the next num_year years in the future.

Parameters:
num_year (optional, defaults to "10")

Partial Call Graph (max 5 caller/called nodes):
%3 test_ad_future_years_list ad_future_years_list (test acs-tcl) ad_future_years_list ad_future_years_list test_ad_future_years_list->ad_future_years_list future_years_list future_years_list (public, deprecated) future_years_list->ad_future_years_list

Testcases:
ad_future_years_list
Source code:
    set year [ns_fmttime [ns_time] %Y]
    set counter  0
    while {$counter < $num_year } {
        incr counter
        lappend year_list $year
        incr year
    }
    return $year_list
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/widgets-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: