How to get datetime


I am triying to get the hour, minute and second when the Robot do something (it write into a txt). For that I use“HHmmss”) as a GenericValue for a variable.

I realice that the datetime value which it is reported is not the properly. I mean, this values is the moment when the process start, and no the moment where the robot pass throw the activity.

Thanks in advance!


get a string variable and assign as below

Hope this helps



If you use an Assign activity for a variable, then this will be recorded at that time, instead, dont use a variable, just use"HHmmss") when you need that text…

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.