"timeFormat"
Sets the format for the time.
Synopsis
setValue(string shape, "timeFormat", string format);
getValue(string shape, "timeFormat", string &format);
shape.timeFormat(string format);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
font | The format, for example, "%H. %M. %S " (hours, minutes, seconds). For more information about the possible formats, see chapter "timeFormat". |
Description
Sets the format for the time.
Example
The following example sets the format for the time to "%H. %M. %S %Z" (hours, minutes, seconds, short form of the time zone).
main()
{
CLOCK1.timeFormat("%H. %M. %S %Z");
}
Assignment
Clock