-
Notifications
You must be signed in to change notification settings - Fork 3
ClockFormatCodes
talvo edited this page Aug 25, 2015
·
2 revisions
The following format codes are available for the Clock Format, for log file names, and the /time command:
-
%%- A literal% -
%a- Abbreviated weekday (Mon, Tue, etc) -
%A- Full weekday (Monday, Tuesday, etc) -
%b- Abbreviated month name (Jan, Feb, etc) -
%B- Full month name (January, February, etc) -
%d- Day of the month, with leading 0 (01, 02, .., 31) -
%D- Short for%m/%d/%Y -
%e- Day of the month, with leading space (' 1', ' 2', .., '31') -
%H- Hours, in 2-digit 24-hour form (00-23) -
%I- Hours, in 2-digit 12-hour form (12-11) -
%j- Day of year, 3 digits (001-366) -
%k- Hours, in 1-digit 24-hour form (0-23) -
%l- Hours, in 1-digit 12-hour form (12-11) -
%m- Month number, 2 digits (01-12) -
%M- Minutes, 2 digits (00-59) -
%N- Month number, 1 digit (1-12) -
%p- AM or PM -
%P- am or pm -
%s- The time and date as a number of seconds past the epoch (Jan 1st 1970). -
%S- Seconds, 2 digits (00-59) -
%T- Short for%H:%M:%S -
%y- Year, two digits -
%Y- Year, four digits -
%Z- Time zone name -
%+- Short for%a %b %e %H:%M:%S %Z %Y
(There are some other format codes available, but these are the most common ones. For the full list, see http://www.tcl.tk/man/tcl8.5/TclCmd/clock.htm#M26
- Welcome to Potato
- Getting Started
- Make Potato the Default Telnet Client
-
Version Change History
- Version 2.0.0b19
- Version 2.0.0b18
- Version 2.0.0b17
- Version 2.0.0b16
- Version 2.0.0b15
- Version 2.0.0b14
- Version 2.0.0b13
- Version 2.0.0b12
- Version 2.0.0b11
- Version 2.0.0b10
- Version 2.0.0b9
- Version 2.0.0b8
- Version 2.0.0b7
- Version 2.0.0b6
- Version 2.0.0b5
- Version 2.0.0b4
- Version 2.0.0b3
- Version 2.0.0b2
- Version 2.0.0b1