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

Text

Twidget offers a variety of commands to manipulate text in various ways. To Uppercase. Converts all characters of the provided text to uppercase. - text: The text to be converted to uppercase. - A text string with all characters in uppercase. To Lowercase. Converts all characters of the provided tex...

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

Session Storage

Twidget includes a suite of session storage commands that enable no-code interaction with the browser’s `sessionStorage` API. These tools allow temporary storage of key-value data for the current page session. Purpose. Session storage commands allow developers to manage transient data tied to a sing...

Math

Twidget offers a variety of commands to manipulate numbers. Below are the math commands available, along with their descriptions, inputs, and outputs. Sum. Description: Adds together a list of numbers and returns the sum. - Inputs: - `numbers`: A list of numbers to be added together. - Output: A sin...