The ts_cal_pattstartdate() function

The ts_cal_pattstartdate() function takes a calendar name and returns the start date of the pattern for that calendar.

Syntax

mi_datetime *
ts_cal_pattstartdate (MI_CONNECTION *conn, 
                      mi_string     *cal_name)
conn
A pointer to a valid connection structure.
cal_name
The name of the calendar.

Description

The equivalent SQL function is CalPattStartDate.

Returns

An mi_datetime pointer that points to the start date of a calendar pattern. You must free this value after use.