Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with katl-commons SIL Engine™ 1.0.

Syntax

formatDate(date, format)

...

Excerpt

Formats the given date into a date/time string accordingly to the given format expression.

Parameters

Parameter name

Type

Required

Description

date

date

Yes

Specifies a Date or DateTime expression.

formatstringYesSpecifies a pattern expression representing the desired date format.

Return type

string

The return value represents the formatted string representation for the given date.

...

Print Formatted date is Wed, 17 Aug 2011 18:30:55 +0300

 


Info

For a full set of date formats that can be used, check out the SimpleDateFormat documentation from Oracle.

...

Filter by label (Content by label)
showLabelsfalse
max100
showSpacefalse
cqllabel = "date_routines"
labelsdate_routines