Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

BA_getDateValue(argv, label)

Package

poweraction

Alias

Pkg Usage

getDateValue(argv, label)

Description

Excerpt
hiddentrue
This will retrieve a date value from the argv array.

This will retrieve a date value from the argv array. Note that for the date time picker, the value in the argv variable uses the user's time zone. BA_getDateValue will convert this value from the user's time zone to the server time zone.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

argv

String []

Yes

The argv variable (predefined variable).

label

String

Yes

The label of the date/date time field.

Return Type

Date

Example

For the Date type fields let's assume we have the following script:

Code Block
BA_createDatePicker("Start Date", currentDate(), false, true, "Required DatePicker");

The date selected in the DatePicker field created above can be obtained in the execution script using the following code:

Code Block
date res = BA_getDateValue(argv, "Start Date");

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "pa_routine" and space = currentSpace ( )
labelsarray_routines