Date-Time

This function block retrieves the current date and time, outputting it as a formatted string.

📥 Inputs

This function block does not accept any inputs.

📤 Outputs

String This output provides the current date and time formatted as a string (e.g., "2023-03-19 15:45:30").

🕹️ Controls

There are no user-adjustable controls for this block as it automatically fetches the current date and time upon evaluation.

🎨 Features

Real-Time Updates The block retrieves the current date and time every time it is evaluated, ensuring that the information is up-to-date.

Formatted String Output The date and time are returned as a string in a standard and readable format.

📝 Usage Instructions

  1. No Setup Needed: Simply incorporate this block into your workflow; there are no inputs to configure.

  2. Connect to Outputs: You can connect the output to other blocks that require the current date and time as a string.

📊 Evaluation

Upon evaluation, this function block outputs the current date and time as a formatted string.

🛠️ Troubleshooting

Incorrect Date-Time Format

This block always outputs the date and time in a specific string format. If you need a different format, consider using the String Operations block to manipulate the output accordingly.

Consistency in Outputs

To ensure consistency, make sure that this block is evaluated at regular intervals if the date and time are used for any time-sensitive operations.

Last updated