"dateFormat"
Sets the format for a date.
Synopsis
setValue(string shape, "dateFormat", string format);
getValue(string shape, "dateFormat", string &format);
shape.dateFormat(string format);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
format | The format, for example, "%A %d. %B." (full name of the week day, date as a number, full name of the month). For more information on the different formats, see chapter "timeFormat". |
Description
Sets the format for a date.
Example
The following example sets the format for a date to "%A %d. %B. %y"; (full name of the week day, date as a number, full name of the month, year without century).
main()
{
CLOCK1.dateFormat("%A %d. %B. %y");
}
Assignment
Clock