Timestamps
Jump to navigation
Jump to search
Playback buffers and some other features may require a timestamp format for their output or usage. If you have a modern client which supports server-time
capability, timestamps are automatically shown correctly.
Alternatively you will need to configure the TimestampFormat
setting for your account using the controlpanel module or via the webpanel.
Timestamp Formats
The following variables can be used within the timestamp format
Variable | Description |
---|---|
%a | The locale's abbreviated weekday name |
%A | The locale's full weekday name |
%b | The locale's abbreviated month name |
%B | The locale's full month name |
%c | The locale's appropriate date and time representation |
%C | The century number (the year divided by 100 and truncated to an integer) as a decimal number (00-99) |
%d | The day of the month as a decimal number (01-31) |
%D | The same as %m/%d/%y |
%e | The day of the month as a decimal number (0-31). A single digit is preceded by a space |
%f | A Sub-second, e.g. %3f is number of milliseconds (the default), and %6f is number of microseconds |
%h | The same as %b |
%H | The hour (24-hour clock) as a decimal number (00-23) |
%I | The hour (12-hour clock) as a decimal number (01-12) |
%j | The day of the year as a decimal number (001-366) |
%m | The month as a decimal number (01-12) |
%M | The minute as a decimal number (00-59) |
%n | A newline character |
%p | The locale's equivalent of either a.m. or p.m |
%r | The time in a.m. and p.m. notation; in the POSIX locale this is equivalent to %I:%M:%S %p |
%R | The time in 24 hour notation (%H:%M) |
%S | The second as a decimal number (00-61) |
%t | A tab character |
%T | The time (%H:%M:%S) |
%u | The weekday as a decimal number (1-7), with 1 representing Monday |
%U | The week number of the year (Sunday as the first day of the week) as a decimal number (00-53) |
%V | The week number of the year (Monday as the first day of the week) as a decimal number (01-53) |
%w | The weekday as a decimal number (0-6), with 0 representing Sunday |
%W | The week number of the year (Monday as the first day of the week) as a decimal number (00-53) |
%x | The locale's appropriate date representation |
%X | The locale's appropriate time representation |
%y | The year without century as a decimal number (00-99) |
%Y | The year with century as a decimal number |
%Z | The timezone name or abbreviation, or empty if no timezone information exists |
%% | The escaped % symbol |