Skip to content
⌘ NSIS Forum Archive

time plugin problem

3 posts

empezar#

time plugin problem

$3 == modified time of a file
$1 == modified time of another file

${time::MathTime} "second($3) - second($1) =" $2

$2 does not return anything

can anyone help me with this one? 🙂
Instructor#
MessageBox MB_OK "{$3}\n{$1}"
${time::MathTime} "second($3) - second($1) =" $2
What message box shows?
empezar#
I found the error, the same way you did Instructor.

$1 contained $\r$\n at the end of the string 🙂