I would like to add a timestamp to a file within an iTest execution. Is it possible?
I believe you can use info command to retrieve the timestamp of current local time.
info timestamp ?formatString?
Returns a timestamp of current local time.
If you do not specify the optional format string, then the command uses Java's localized full timestamp format.
An example formatString is “yyyy-MM-dd HH:mm:ss.SSS” (We use quotes to enclose the string because the space character appears in the string.) Format strings are based on Java's SimpleDateFormat.
Hope it helps!!
No one has followed this question yet.