Difference between revisions of "Extensions.DateTime.FormatDate"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
== Description == | == Description == | ||
+ | <!--T:1--> | ||
Date format is a term which converts a timestamp in a date format and returns as a string. If there is no formatting specified, is the time to ISO 8601:2004 in the following format: | Date format is a term which converts a timestamp in a date format and returns as a string. If there is no formatting specified, is the time to ISO 8601:2004 in the following format: | ||
<blockquote style="text-align:center;"> | <blockquote style="text-align:center;"> | ||
Line 8: | Line 9: | ||
(The symbols "-", ".", ":", ",", "+" And "T" are delimiters) | (The symbols "-", ".", ":", ",", "+" And "T" are delimiters) | ||
</blockquote> | </blockquote> | ||
+ | |||
+ | <!--T:2--> | ||
+ | The following table gives an overview of the decoding of the individual format icons. | ||
+ | {| style="text-align:center" border="0" cellpadding="5" | ||
+ | |+ style="color:gray" | <small>Modules of the ISO 8601 time format</small> | ||
+ | |- style="background: gray; color: white; vertical-align:top;" | ||
+ | | YYYY || MM || DD || hh || mm || ss || fff || hh || mm | ||
+ | |- | ||
+ | | Year || Month || Day || Hour || Minute || Second || Milisecond || Hour (difference from GMT) || Minute (difference from GMT) | ||
+ | |} | ||
== Pseudo-Code Syntax == | == Pseudo-Code Syntax == |
Revision as of 13:00, 11 July 2014
Classification
Name | FortmatDate |
Short Description | Returns a formatted time representation of a timestamp. |
Class | Term |
Extension | OTX DateTime Extension |
Group | - |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
Description
Date format is a term which converts a timestamp in a date format and returns as a string. If there is no formatting specified, is the time to ISO 8601:2004 in the following format:
YYYY-MM-DDThh:mm:ss[.fff]+hh:mm
(The symbols "-", ".", ":", ",", "+" And "T" are delimiters)
The following table gives an overview of the decoding of the individual format icons.
YYYY | MM | DD | hh | mm | ss | fff | hh | mm |
Year | Month | Day | Hour | Minute | Second | Milisecond | Hour (difference from GMT) | Minute (difference from GMT) |