The ts_cal_startdate() function

The ts_cal_startdate() function returns the start date of a calendar.

Syntax

mi_datetime *
ts_cal_startdate (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 CalStartDate.

Returns

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