Plain Text Clock

A clock displayed with plain text numbers

Add Clock dependent Settings:

1. Switch to edit mode with your Remote Controller:

edit_mode.png

2. Click on the arrow in the top right cornet, and select Settings

settings.png

3. Now you see the clock specific settings:

Format:

Give a string format.
The date parsing and formatting syntax contains a subset of PHP's date() function, and the formats that are supported will provide results equivalent to their PHP versions. The following is a list of all currently supported formats:
Format Description Example
a Lowercase Ante meridiem and Post meridiem am or pm
A Uppercase Ante meridiem and Post meridiem AM or PM
g 12-hour format of an hour without leading zeros 1 to 12
G 24-hour format of an hour without leading zeros 0 to 23
h 12-hour format of an hour with leading zeros 01 to 12
H 24-hour format of an hour with leading zeros 00 to 23
i Minutes, with leading zeros 00 to 59
s Seconds, with leading zeros 00 to 59
O Difference to Greenwich time (GMT) in hours and minutes Example: +1030
P Difference to Greenwich time (GMT) with colon between hours and minutes Example: -08:00
T Timezone abbreviation of the machine running the code Examples: EST, MDT, PDT ...
Z Timezone offset in seconds (negative if west of UTC, positive if east) -43200 to 50400
c ISO 8601 date

Message:

A message to display above the clock.

Last edited Oct 31, 2009 at 11:27 AM by szelpe, version 2

Comments

No comments yet.