strftime() returns a string (i.e. text) select '17' <> 17; either cast or convert to integer where (0+strftime('%W', StartTime,'unixepoch', 'localtime')) <> 17
strftime() returns a string (i.e. text) select '17' <> 17; either cast or convert to integer where (0+strftime('%W', StartTime,'unixepoch', 'localtime')) <> 17