Translations:Pdate/18/en

From SysadminWiki.ru
Jump to: navigation, search
  • a - day of the week, short name (Mon..Sun)
  • A - day of the week, full name (Monday..Sunday)
  • b - month, short name(Jan..Dec)
  • B - month, full name(January..December)
  • c - date and time
  • C - age
  • d - day (01..31)
  • D - date (dd.mm.yy)
  • e - day (1..31)
  • F - same as "a D"
  • H - hour in 24 mode (00..23)
  • I - hour in 12 mode (00..12)
  • j - day of the year (001..366)
  • m - day of the month (01..12)
  • M - minute (00..59)
  • n - new line
  • N - millisecond (0..999)
  • p - AM/PM indicator
  • P - am/pm indicator
  • S - second(00..59)
  • T - time(hh:mm:ss)
  • u - day of the week (1..7), 1 = Monday
  • V - week of the year (01..53), first week counts as a whole one, i.e. no matter what day of the week was January 1st.
  • W - week of the year (00..52), how many 7-days periods, i.e. = days passed / 7
  • y - last two digits of the year (00..99)
  • Y - year
  • z - date and time if format 2006.01.31_05:38:45
  • Z - date and time if format 31.01.2006 05:38:45
  • ?,/? - help