Comment on page
Date- Time List
This block allows us to access the date and time variables separately. Use the output block to see the results.

The
Date-Time List
node in AugeLab Studio allows you to retrieve the current date and time components as a list.The
Date-Time List
node provides the current date and time components, including the year, month, day, hour, minute, and second, as separate strings in a list. It retrieves the current date and time from the system clock and outputs the individual components as strings.- 1.Drag and drop the
Date-Time List
node from the node library onto the canvas in AugeLab Studio. - 2.Run the pipeline or execute the node to retrieve the current date and time components.
- 3.The node will output the year, month, day, hour, minute, and second as separate strings in a list.
- 4.Retrieve the individual components from the output sockets for further use in the pipeline.
The
Date-Time List
node retrieves the current date and time components using the datetime
module in Python. It calls the datetime.now()
function to get the current date and time as a datetime
object. Then, it extracts the individual components (year, month, day, hour, minute, and second) from the datetime
object and converts them to strings.During its implementation, the node performs the following steps:
- 1.Get Current Date and Time: The node calls the
datetime.now()
function to retrieve the current date and time as adatetime
object. - 2.Extract Components: The node extracts the year, month, day, hour, minute, and second components from the
datetime
object. - 3.Convert to Strings: The node converts each component to a string representation.
- 4.Output: The individual components are provided as separate strings in a list through the output sockets.
- 1.Drag and drop the
Date-Time List
node from the node library onto the canvas in AugeLab Studio. - 2.Run the pipeline or execute the node to retrieve the current date and time components.
- 3.Retrieve the individual components from the output sockets for further use in the pipeline.
- 4.Use the date and time components in downstream nodes or export them for further processing.
- The
Date-Time List
node allows you to retrieve the current date and time components as separate strings in a list. - It provides the year, month, day, hour, minute, and second components of the current date and time.
- The node retrieves the current date and time from the system clock.
- The output is a list of strings representing the individual components of the date and time.
- The
Date-Time List
node simplifies the process of retrieving and working with date and time components. - You can use the individual components for various purposes, such as timestamping, data analysis, file naming, and more.