Difference between revisions of "Extensions.DateTime.FormatDate"

From emotive
Jump to navigation Jump to search
Line 21: Line 21:
  
 
== Pseudo-Code Syntax ==
 
== Pseudo-Code Syntax ==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
time = FormatDate(timeStamp , <<pattern>>);
 +
</syntaxhighlight>
  
 
== Properties ==
 
== Properties ==

Revision as of 13:02, 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.

Modules of the ISO 8601 time format
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

time = FormatDate(timeStamp , <<pattern>>);

Properties

Examples

See also