Question
Current Date and Time Design Block
Hello,
I need to get the current date and time that an automation passes through a certain point and write it into an Excel file. I already have the script to write into the Excel, but I was wondering if there is anything in the toolbox that would help me get the current date and time.
Thanks
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
The DteTimeUtils component has a method for Now that returns the current DateTime. You can use one of the ToString methods to format it as you need.