Sign Up

Date

Twidget offers a variety of commands to manipulate date objects. Below are the available commands along with their respective descriptions, inputs, and outputs.

Current Date

Description: Returns the current date and time.

Output:

  • Type: DATE

Add Time

Description: Returns the date plus a specified amount of time.

Inputs:

  • date The date to which time will be added.

  • time The amount of time to add.

  • time_period The unit of the time to add (e.g., hours, days).

Output:

  • Type: DATE

Minus Time

Description: Returns the date after subtracting a specified amount of time.

Inputs:

  • date The date from which time will be subtracted.

  • time The amount of time to subtract.

  • time_period The unit of the time to subtract (e.g., hours, days).

Output:

  • Type: DATE

Related Topics

Local Storage

Twidget provides a set of local storage commands that enable interaction with the browser’s `localStorage` API through a no-code interface. These commands are useful for storing, retrieving, and managing key-value data persistently within the current domain context. Purpose. These commands abstract ...

Security

Twidget provides several built-in functions to enhance the security of your applications. Below is an overview of each security command, including its description, inputs, and outputs. Generate ID. Description: Generates a unique identifier. None - Type: Text Hash Text. Description: Hashes the provi...

Return

The `return` command in Twidget is a special command used to halt the current command workflow and immediately return a specified result. This command overrides any subsequent processes and outputs the return result regardless of the rest of the workflow logic. This command is particularly useful fo...

Loops

In Twidget, loops allow you to execute commands multiple times, either based on a condition or through a set number of iterations. Loops can also be nested, meaning you can run loops within other loops, creating complex logic for your tasks. List Loop. The `List Loop` command enables you to loop thr...

Send External HTTP Request

Using Twidget, you can send external HTTP requests effortlessly. This functionality allows you to communicate with external servers or APIs. Below, you will find the necessary parameters and structure to set up an HTTP request. Parameters. - URL: The endpoint to which the request will be sent. - Met...