Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Info
titleAvailability

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

Syntax

...

hour(date)

Description

...

Excerpt

Returns the hour of the provided date (: 0-23).

Parameters

...

Parameter name

Type

Required

Description

date

date

Yes

Specifies a DateTime expression.

Return type

...

number

Example

...

Example 1

...

Code Block
print("Hour is " + hour(currentDate()));

Example 2

...

Code Block
date varDateTime = "2011-08-17T18:30:55";
print("Hour is " + hour(varDateTime));

Print Hour is 18

See

...

also

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