dt_next_month_name (public)

 dt_next_month_name year month

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

Parameters:
year (required)
month (required)
Returns:
Localized name of the next month

Partial Call Graph (max 5 caller/called nodes):
%3 test_dt_localized_procs dt_localized_procs (test acs-datetime) dt_next_month_name dt_next_month_name test_dt_localized_procs->dt_next_month_name ad_log ad_log (public) dt_next_month_name->ad_log lc_clock_to_ansi lc_clock_to_ansi (public) dt_next_month_name->lc_clock_to_ansi lc_time_fmt lc_time_fmt (public) dt_next_month_name->lc_time_fmt dt_get_info dt_get_info (public) dt_get_info->dt_next_month_name

Testcases:
dt_localized_procs
Source code:
    try {
        return [lc_time_fmt [lc_clock_to_ansi [clock add [clock scan $year-$month-01] 1 month]] "%B"]
    } on error {errmsg} {
        ad_log warning "Cannot get name of previous month for $year-$month"
        return ""
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-datetime/tcl/acs-datetime-procs.xql

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