Date and Time Format in Linux

Formats:

  • %Y - Year
  • %m - Month
  • %d - Day
  • %H - Hour (24 hour)
  • %M - Minute
  • %A - Day (spelled out)
  • %x - MM/DD/YY
  • %I - Hour (12 hour)
  • %R - Hour:Minute (24 hour)

Comments

Popular Posts