Timestamp Options

From Drunkapedia
Jump to: navigation, search

Original Link (now dead) - http://ac.turbine.com/index.php?page_id=237


Timestamp Options


With the May patch, there is a new option available in your character options panel, Display Timestamps.

You'll notice that there is some green text to the right of the Display Timestamps option, this is your timestamp format. Basically, you can put anything that will fit into that box, and it will be displayed in grey text at the beginning of each line of text in your chat window. However there are some special character sequences which will be replaced by various numbers representing the time and date.

So, what substitutions are available?

Character Code Substitution
%a Abbreviated weekday name
%A Full weekday name
%b Abbreviated month name
%B Full month name
%c Date and time representation appropriate for locale
%#c Long date and time representation, appropriate for current locale. For example: "Tuesday, March 14, 1995, 12:41:29".
%d Day of month as decimal number (01 - 31)
%#d Day of month as decimal number without leading 0's (1 - 31)
%H Hour in 24-hour format (00 - 23)
%#H Hour in 24-hour format without leading 0's (0 - 23)
%I Hour in 12-hour format (01 - 12)
%#I Hour in 12-hour format without leading 0's (1 - 12)
%j Day of year as decimal number (001 - 366)
%j Day of year as decimal number without leading 0's (1 - 366)
%m Month as decimal number (01 - 12)
%#m Month as decimal number without leading 0's (1 - 12)
%M Minute as decimal number (00 - 59)
%#M Minute as decimal number without leading 0's (0 - 59)
%p Current locale’s A.M./P.M. indicator for 12-hour clock
%S Second as decimal number (00 - 59)
%#S Second as decimal number without leading 0's (0 - 59)
%U Week of year as decimal number, with Sunday as first day of week (00 - 53)
%U Week of year as decimal number, with Sunday as first day of week without leading 0's (0 - 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)
%#W Week of year as decimal number, with Monday as first day of week without leading 0's (0 - 53)
%x Date representation for current locale
%X Time representation for current locale
%y Year without century, as decimal number (00 - 99)
%#y Year without century, as decimal number without leading 0's (0 - 99)
%Y Year with century, as decimal number
%#Y Year with century, as decimal number without leading 0's
%z, %Z Time-zone name or abbreviation; no characters if time zone is unknown


Examples


The following are some examples of possible timestamp formats:

Time Stamp Format Example
%#H:%M:%S 11:08:55 You say, "Hello"
%#I:%M %p 11:04 AM You say, "Hello"
%c 04/23/04 11:16:01 You say, "Hello"
%#c Friday, April 23, 2004 11:16:38 You say, "Hello"
<%#H:%M> <11:18> You say, "Hello"
I like cheese >> I like cheese >> You say, "Hello"