Difference: TWikiTimeDotPm (2 vs. 3)

Revision 32008-01-22 - TWikiContributor

Line: 11 to 11
 
  • $sDate - date/time string

Handles the following formats:

Added:
>
>
Default TWiki format
 
  • 31 Dec 2001 - 23:59
Added:
>
>
TWiki format without time (defaults to 00:00)
  • 31 Dec 2001

Date seperated by '/', '.' or '-', time with '.' or ':' Date and time separated by ' ', '.' and/or '-'

 
  • 2001/12/31 23:59:59
  • 2001.12.31.23.59.59
  • 2001/12/31 23:59
  • 2001.12.31.23.59
Added:
>
>
  • 2001-12-31 23:59
  • 2001-12-31 - 23:59

ISO format

 
  • 2001-12-31T23:59:59
ISO dates may have a timezone specifier, either Z or a signed difference in hh:mm format. For example:
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding lt;nopgt;TWiki? lt;a href='mailto:twiki-admin@kcl.ac.uk?subject=TWiki%20Feedback%20on%20TWiki.TWikiTimeDotPm'gt;Send feedbacklt;/agt; <br /> Note: Please contribute updates to this topic on TWiki.org at <a href="http://twiki.org/cgi-bin/view/TWiki/TWikiTimeDotPm" target="twiki.org">TWiki:TWiki.TWikiTimeDotPm</a>.