Similar question to how to get the Version.
Similar question to how to get the Version.
You can query the sys.timestamp compiler variable:
import com.install4j.api.launcher.Variables.Variables;
try {
String version = Variables.getCompilerVariable("sys.timestamp");
} catch (IOException e) {
// TODO not running in installation
}