The ts_make_stamp() function

The ts_make_stamp() function constructs a time stamp from the year, month, day, hour, minute, second, and microsecond values and puts them into the mi_datetime pointed to by the dt argument.

Syntax

mi_datetime *
ts_make_stamp (MI_CONNECTION *conn, 
                mi_datetime   *dt,
                mi_integer    year, 
                mi_integer    month, 
                mi_integer    day, 
                mi_integer    hour, 
                mi_integer    minute, 
                mi_integer    second, 
                mi_integer    ms)
conn
A valid connection.
dt
The time stamp to fill in. The caller should supply the buffer.
year
The year to put into the returned mi_datetime.
month
The month to put into the returned mi_datetime.
day
The day to put into the returned mi_datetime.
hour
The hour to put into the returned mi_datetime.
minute
The minute to put into the returned mi_datetime.
second
The second to put into the returned mi_datetime.
ms
The microsecond to put into the returned mi_datetime.

Returns

A pointer to the same mi_datetime structure that was passed in.