Skip to end of banner
Go to start of banner

BA_getDateValue (Power Actions)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

The use of these routines requires the Power Actions add-on be installed and licensed.

The use of this routine requires the Power Actions add-on be installed and licensed.

Description

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

Return Type

Date

Example

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

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:

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

See also

  • No labels