SSI Time String Format
Shows the SSI time format and what the characters mean. The SSI time string format is used with the SSI config command with the parameter "timefmt".
| String | Description | Example |
| A | Day of the week | Monday |
| %a | Abbreviated day of the week | Mon |
| %B | Month name | November |
| %b | Abbreviated month name | Nov |
| %D | Date as MM/DD/YY | 12/25/77 |
| %d | Date as two digits | 04 |
| %e | Date as one digit | 4 |
| %H | 24 hour time | 18 |
| %I | 12 hour time | 06 |
| %j | Numeric day of the year | 214 |
| %M | Minutes | 23 |
| %m | Numeric month | 06 |
| %p | AM or PM | PM |
| %r | Time as HH:MM:SS with AM or PM | 08:45:54 PM |
| %S | Seconds | 54 |
| %T | 24-hour time as HH:MM:SS | 08:45:54 |
| %U | Week of the year | 14 |
| %w | Numeric day of the week | 2 |
| %W | Week of the year | 14 |
| %Y | Year | 1977 |
| %y | Two digits of the year | 77 |
| %Z | Time zone | EST |
No comments:
Post a Comment