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 Next »

Action

Parameters

Example Usage

setDateFormat

Web, Mobile


To change the current date format of the application.

Useful if user wants to use available actions of date with different date format.

Param 1 : Valid date format

Example:

setDateFormat : <Valid date format : dd,MM,yyyy>

Sets the date format to dd,MM,yyyy

Suppose you wishes to use the current date in the date format dd,MM,yyyy. All you need to do is, use the keyword setDateformat to set the date format to dd,MM,yyyy & then use keyword copycurrentDateTo to store the current date in a variable of your choice. The current date will be stored in the mentioned date format dd,MM,yyyy. Use the date stored in variable with appropriate keyword.

setDateTimeFormat

Web, Mobile


To change the current date-time format of the application.

Useful if user wants to use available actions of date-time with different date-time format.

Param 1 : Valid date-time format

Example:

setDateTimeFormat : <Valid date-time format : dd/MM/yyyy::HH:mm:SS>

Sets the date-time format to dd/MM/yyyy::HH:mm:SS

Suppose you wishes to use the current date-time in the date-time format dd/MM/yyyy::HH:mm:SS. All you need to do is, use the keyword setDateTimeformat to set the date-time format to dd/MM/yyyy::HH:mm:SS & then use keyword copycurrentDateTimeTo to store the current date-time in a variable of your choice. The current date-time will be stored in the mentioned date-time format dd/MM/yyyy::HH:mm:SS. Use the date-time stored in variable with appropriate keyword.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.