::geODateTime::
The geODateTime plugin displays the date and time on the bar.
::Author::
pdw63 (major update by Jaykül)
::Shot::
::Configuration Details::
Set the following registry keys in HKCU\Software\geO\geOShell\Plugins\geODateTimeX_Y:
| Key | Values | Default | Function |
| Font | See below | Standard | Specifies the font |
| Style | Standard,Inset | Standard | When set to Inset, icons appear in a sunken area on the bar |
| DateTime Format | See below | %#H:%M @%s | Controls format of main display |
| ToolTip Format | See below | %#x | Controls format of tooltip |
The font string must be in the format "font,size", where font is valid font name as displayed in the Font Control Panel.
For example, to display bold, 14 point text in the Tahoma font you would set the font value to:
Tahoma Bold,14
The valid date/time formats for the tooltip and the main display are :
| %a | Abbreviated weekday name |
| %A | Full weekday name |
| %b | Abbreviated month name |
| %B | Full month name |
| %c | Date and time representation appropriate for locale |
| %d | Day of month as decimal number (01 – 31) |
| %H | Hour in 24-hour format (00 – 23) |
| %I | Hour in 12-hour format (01 – 12) |
| %j | Day of year as decimal number (001 – 366) |
| %m | Month as decimal number (01 – 12) |
| %M | Minute as decimal number (00 – 59) |
| %p | Current locale’s A.M./P.M. indicator for 12-hour clock |
| %S | Second as decimal number (00 – 59) |
| %U | Week of year as decimal number, with Sunday as first day of week (00 – 53) |
| %w | Weekday as decimal number (0 – 6; Sunday is 0) |
| %W | Week of year as decimal number, with Monday as first day of week (00 – 53) |
| %x | Date representation for current locale |
| %X | Time representation for current locale |
| %y | Year without century, as decimal number (00 – 99) |
| %Y | Year with century, as decimal number |
| %z, %Z | Time-zone name or abbreviation; no characters if time zone is unknown |
| %% | Percent sign |
| %#c | Long date and time representation, appropriate for current locale. For example: “Tuesday, March 14, 1995, 12:41:29”. |
| %#x | Long date representation, appropriate to current locale. For example: “Tuesday, March 14, 1995”. |
| %s | SwatchBeats |
| %1-3 | SwatchDeciBeats (1 = one decimal point ... etc) |
Inserting a pound sign (#) into some codes will change them slightly:
%#d, %#H, %#I, %#j, %#m, %#M, %#S, %#U, %#w, %#W, %#y, %#Y Remove leading zeros (if any).
Characters which do not begin with a percent sign (
%) will appear in the same location and unchanged in the output string.
::Examples::
| To Get | Use |
| Tuesday (21:32) Feb 6, 2001 | %A (%H:%M) %b %d, %Y |
| Tuesday, Feb 6, 2001 | %A, %b %#d, %Y |
| Today is Tuesday, February 06 | Today is %A, %B %d |
| 9:32:33 PM | %#I:#M:%S %p |
| 21:32 6/2/01 | %H:%M %#d/%#m/%y |
| 9:32 PM @647 | %#I:%M %p @%s |
| @647.43 d06.02.2001 | @%s.%2 d%d.%m.%y |
Note that the plugin resizes itself to accomodate the specified string.