Fixed program strength handling

Signed-off-by: sebhz <seb@zyglute.fr>
Fixed time error in MS Windows

Signed-off-by: sebhz <seb@zyglute.fr>