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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiTimeDotPm.