dt_first_day_of_month (public)
dt_first_day_of_month year month
Defined in packages/acs-datetime/tcl/acs-datetime-procs.tcl
- Parameters:
- year (required)
- month (required)
- Returns:
- the weekday number of the first day for the given month/year
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- dt_first_day_of_month
Source code: # calendar widgets are expecting integers 1-7, so we must adjust return [expr {[clock format [clock scan $year-$month-01] -format %w] + 1}]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-datetime/tcl/acs-datetime-procs.xql