Clock plugin
This plugin provides the Date and Time
This plugin is not loaded by default, so to use it you will first need to add it to your VCPs YAML config file.
YAML configuration:
data_plugins:
clock:
provider: qtpyvcp.plugins.clock:Clock
Available datachannels
- time
Returns the current date as a formatted string. Default format is
%I:%M:%S %p
which gives a 12-hour clock in HH:MM:SS AM format.See http://strftime.org for supported formats.
syntaxclock:time
returns strThe default formatting can be overridden as follows:
syntaxclock:time?string&format=%S
returns str
- date
Returns the current date as a formatted string. Default format is
%m/%d/%Y
which gives MM/DD/YYYYSee http://strftime.org for supported formats.
syntaxclock:date
returns strThe default formatting can be overridden as follows:
syntaxclock:date?string&format=%S
returns str