set_clock Function

calc_int.h

int (*set_clock) (const TicalcClock * clock, int mode);

Parameters

clock
the date, time and clock settings
mode
a set of TicalcMaskMode flags.
Returns
0 if successful, an error code otherwise.


Summary

Set the calculator clock.

Description

This function set a new clock and change the way the clock is displayed (time & date format).

See also

get_clock


Return to the API index