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

Lists

Twidget offers a variety of commands to help you manipulate lists easily without coding. Below is a detailed explanation of each command available. Get. Description: Returns the element in the provided list at the given index. Inputs: - `list`: The list from which to get the element. - `index`: The ...

Error Handling

When building applications with Twidget, you may encounter situations where you need to handle errors gracefully to ensure your application runs smoothly. Twidget provides two powerful commands for error handling: `try-catch` and `throw-error`. This documentation will guide you on how to use these c...

Conditionals

Condition Command. The Condition Command allows you to perform actions based on whether an expression evaluates to true or false. You can nest other commands within the true or false branches of the condition, enabling complex logic flows. - Expression Builder: Validate two variables to equal true. ...

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...

Variables

Variables are essential building blocks in Twidget that allow you to store and manipulate data dynamically within your no-code applications. They enable you to create flexible and interactive applications by holding values that can be changed and referenced throughout your workflow. Creating Variabl...