Date+Time[text]

The widget Date+Time[text] displays the current date. Its design and function can be configured in various ways. Besides the setting of font type and size, the color and background images, the date and time components can be combined with each other as well and they can be shown with any separator. For example: yy-MM-dd HH:mm:ss > 14-07-28 16:53:20.

The following data are configurable:

Year

  • yy → 14
  • yyyy → 2014

Month

  • M → 7 (without foremost null)
  • MM → 07 (with foremost null)
  • MMM → Jan. (localized shortcut of the month name)
  • MMMM → January (localized month name)

Day

  • d → 8 (without foremost null)
  • dd → 08 (with foremost Null)
  • ddd → Mon. (localized shortcut of the weekday)
  • dddd → Montag (localized weekday)

Hour

  • h → 2 (am/pm sensitive representation)
  • hh → 02 (am/pm sensitive representation with foremost null)
  • H → 8 (24 hours representation without foremost null)
  • HH → 16 (24 houers representation with foremost null)

Minute

  • m → 3 (without foremost Null)
  • mm → 03 (with foremost Null)

Second

  • s → 4 (without foremost null)
  • ss →  04 (with foremost null)

AM/PM

  • a > am/pm
  • A > AM/PM

 

Note: For the am / pm sensitive representation or hh must be used.

Similar Widgets


Video tutorial 'How to use the widget'

Widget category