LiteStep v. 0.24.6 documentation

written by the LiteStep Documentation Effort, August 2000

  .: introduction   .: configuration   .: installation   .: theme installation   .: theme creation   .: development   .: glossary   .: links  
  .: command   .: desktop   .: hotkey   .: litestep   .: lstime   .: popup   .: shortcut   .: systray   .: taskbar   .: vwm   .: wharf  

!DateTime Options
Below are all the available settings for the !DateTime !Bang command in Popup2.dll. These settings only display the specified date or time item: extra words and punctuation can be added by the user.

Placing a hash mark, "#", between the percent sign and the character will remove any leading zeros from numeric values. For example, "%d" might display "07", but "%#d" would display "7".

%A Weekday name.
%a Weekday name, abbreviated.
%B Month name.
%b Month name, abbreviated.
%c Date and time representation appropriate for the user's locale.
%d Day of the month.
%j Day of the year.
%m Month of the year.
%p Current locale’s A.M./P.M. indicator for 12-hour clock.
%U Week of the year, with Sunday as first day of week. Takes values 00 - 53.
%w Day of the week. Takes values 0 - 6; Sunday is 0.
%W Week of the year, with Monday as the first day of the week. Takes values 00 - 53.
%x Date representation for the current locale.
%Y Year with century.
%y Year without century.
%Z Time-zone name. Displays no characters if the time zone is unknown.
%z Time-zone name, abbreviated. Displays no characters if time zone is unknown.
%H Hour in 24-hour format.
%I Hour in 12-hour format.
%M Minute as a decimal number.
%S Second as a decimal number.
%X Time representation for the current locale.
%%@ Swatch Internet time.
Examples for !DateTime Usage
*Popup "%H:%M.%S" !DateTime 23:12.44
*Popup "%A, %#d %B %Y" !DateTime Saturday, 7 October 2000
*Popup "Internet Time: %%@" Internet Time: 315
*Popup "Internet Time: @%%@" Internet Time: @315
*Popup "Time is %I:%M:%S %p, %z" !DateTime Time is 09:35:20 PM, EST
*Popup "LiteStep %Y" !DateTime LiteStep 2000