dt_next_month (public)

 dt_next_month year month

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

Parameters:
year (required)
month (required)
Returns:
the ANSI date for the next month

Partial Call Graph (max 5 caller/called nodes):
%3 test_dt_prev_next_month dt_prev_next_month (test acs-datetime) dt_next_month dt_next_month test_dt_prev_next_month->dt_next_month ad_log ad_log (public) dt_next_month->ad_log dt_get_info dt_get_info (public) dt_get_info->dt_next_month

Testcases:
dt_prev_next_month
Source code:
    try {
        return [clock format [clock add [clock scan $year-$month-01] 1 month] -format %Y-%m-%d]
    } on error {errmsg} {
        ad_log warning "Cannot get next month date 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: