Advertisement
Wrigs

XFCE Clock - Custom formatting codes

Jan 15th, 2023
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. %% a literal %
  2. %a locale's abbreviated weekday name (e.g., Sun)
  3. %A locale's full weekday name (e.g., Sunday)
  4. %b locale's abbreviated month name (e.g., Jan)
  5. %B locale's full month name (e.g., January)
  6. %c locale's date and time (e.g., Thu Mar 3 23:05:25 2005)
  7. %C century; like %Y, except omit last two digits (e.g., 21)
  8. %d day of month (e.g, 01)
  9. %D date; same as %m/%d/%y
  10. %e day of month, space padded; same as %_d
  11. %F full date; same as %Y-%m-%d
  12. %g last two digits of year of ISO week number (see %G)
  13. %G year of ISO week number (see %V); normally useful only with %V
  14. %h same as %b
  15. %H hour (00..23)
  16. %I hour (01..12)
  17. %j day of year (001..366)
  18. %k hour ( 0..23)
  19. %l hour ( 1..12)
  20. %m month (01..12)
  21. %M minute (00..59)
  22. %n a newline
  23. %p locale's equivalent of either AM or PM; blank if not known
  24. %P like %p, but lower case
  25. %r locale's 12-hour clock time (e.g., 11:11:04 PM)
  26. %R 24-hour hour and minute; same as %H:%M
  27. %s seconds since 1970-01-01 00:00:00 UTC
  28. %S second (00..60)
  29. %t a tab
  30. %T time; same as %H:%M:%S
  31. %u day of week (1..7); 1 is Monday
  32. %U week number of year, with Sunday as first day of week (00..53)
  33. %V ISO week number, with Monday as first day of week (01..53)
  34. %w day of week (0..6); 0 is Sunday
  35. %W week number of year, with Monday as first day of week (00..53)
  36. %x locale's date representation (e.g., 12/31/99)
  37. %X locale's time representation (e.g., 23:13:48)
  38. %y last two digits of year (00..99)
  39. %Y year
  40. %z +hhmm numeric timezone (e.g., -0400)
  41. %Z alphabetic time zone abbreviation (e.g., EDT)
Tags: XFCE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement