Thanks for explaining. I wasn't aware you could convert $fulldate to $ctime that way.

After testing it, all the different things in the condition matched up with the echo, but the output came from the else statement and output 2 lines, not the if with all the conditions. If the if is rewriting the last line in the @window then shouldn't the conditions come later?

Last edited by VitaminAforAweso; 13/12/18 09:41 PM.