Log variable won't hold date


Hi guys,

I know it is kind of stupid, but I am having trouble figuring it out.

I am creating a log variable (not uing ochestrator). I am using it concatenating a new string to the existing log variable. For example:

log = log +"[" + Now.ToShortTimeString + “]: Message.[k(enter)]”

I keep repeating it to all events. When I create the txt file, the dates won’t show. It only shows me the following:

“: Message.”

Can you guys help me out?


try something like this

log = log +"[" + Now.ToShortTimeString + "]: Message."+Environment.NewLine


My issue is that the txt file doesn’t have the time. The new line is working. When I write it to the terminal, it shows the time, but when pasting it to the txt file, it doesn’t work.

By the way, I tried anyway your suggestion. Thnx for the answer.


Can someone help me figure this out?


This works for me

log.xaml (7.0 KB)