Jump to content

Default_time_format

Default_time_format

The message Default time format ("%I:%M %p") has defeated me! Looking up the php manual I find that

  • I = Whether or not the date is in daylight saving time
  • M = A short textual representation of a month, three letters
  • p = ?

Help needed.

Lloffiwr15:23, 2 May 2011

This are parameters from the PHP strftime() function:
http://www.php.net/manual/en/function.strftime.php

  • %Y = Four digit representation for the year
  • %m = Two digit representation of the month
  • %d = Two-digit day of the month (with leading zeros)
  • %I = Two digit representation of the hour in 12-hour format
  • %M = Two digit representation of the minute
  • %p = UPPER-CASE 'AM' or 'PM' based on the given time
Gerundt13:55, 14 May 2011

Done Done - documented

Lloffiwr15:27, 14 May 2011