Class for setting and accessing the date.
Call date for insertion into a TEXT file.
| Parameter: | format – integer from 0 to 9: 0 - MM/DD/YY; 1 - DD/MM/YY; 2 - MM-DD-YY; 3 - DD-MM-YY; 4 - MM.DD.YY; 5 - DD.MM.YY; 6 - MM DD YY; 7 - DD MM YY; 8 - MMM.DD, YYYY; 9 - Day of week |
|---|---|
| Returns: | formatted string to use in a TEXT |
| Return type: | string |
Sets the date in the memory of the sign. This must be done each day to keep the clock ‘up to date’, because the sign will not automatically advance the day.
If the date is not specified in the arguments, today’s date will be used.
| Parameters: |
|
|---|---|
| Return type: | alphasign.packet.Packet object |
Set the day of the week on the sign.
If the argument is omitted, today’s day will be used.
| Parameter: | day – (optional) integer between 1 (Sunday) and 7 (Saturday) |
|---|---|
| Return type: | alphasign.packet.Packet object |