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 App Connections
  9. System Services, Listeners and Connectors
  10. Designing Human Tasks

Design

Design

day-from-date

day-from-date

Returns the day portion of a date.

Syntax

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

Return Value

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

Example

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

0 COMMENTS

We’d like to hear from you!