Table of Contents

Search

  1. Preface
  2. Understanding Data Types and Field Properties
  3. Designing Processes
  4. Using and Displaying Data
  5. Designing Guides
  6. Designing Process Objects
  7. Designing Service Connectors
  8. Using Connectors
  9. System Services, Listeners and Connectors
  10. Designing Human Tasks

Design

Design

day-from-dateTime

day-from-dateTime

Returns the day portion of a date/time.

Syntax

fn:day-from-dateTime(arg)
The following table describes the argument for this command:
Argument
Required/
Optional
Description
arg
Required
The dateTime value from which the day component is to be extracted.
The dateTime-value is of type xs:dateTime or is an empty sequence.

Return Value

Returns the day portion from an xs:dateTime value in its localized form, as an integer between 1 and 31 inclusive.
If dateTime-value is an empty sequence, the returned value is an empty sequence.

Example

The following expression returns 15 as the result:
fn:day-from-dateTime(xs:dateTime('2023-07-15T18:00:00'))

0 COMMENTS

We’d like to hear from you!