Jump to content

Date and time notation on NOCC

Date and time notation on NOCC

The default date format on NOCC is Y-m-d which I understand to mean Y=year, m=month and d=day. The default time format is I-M-p. What do these letters stand for? And what software uses this notation? I have googled this but without success. My aim is to write this up on FAQ and on the relevant NOCC message.

Lloffiwr10:21, 2 May 2011

Looking up the php manual hasn't helped.

Lloffiwr15:10, 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:49, 14 May 2011

Done Done - documented

Lloffiwr15:26, 14 May 2011