how do i say this

i want a script that clavulates if a number can be split by 4 or not if rest =0 then it should be true

si if 2004/4=0 this should be true but how do i say this in the coreect script

it's hard to explain for me

i want to calculate how many days our second month has this year and next year and so on