Do you know how println() differs from print()? It may be time for you to learn.
I'm willing to be that the fine folks at http://snippets-r-us.com will be able to do a better job of dealing with your piss-poorly indented snippets than we can.
Please always do a Tools > Auto Format on your code before posting it. This will make it easier for you to spot bugs and make it easier for us to read. If you're using the Arduino Web Editor you will not have access to this useful tool. I recommend you to use the standard IDE instead.
You don't seem to understand when to use == and when to use =. They are NOT interchangeable.
razlika=(zdaj-pozneje);
if(minute(razlika)>=2)
What are you expecting the code to do? You are subtracting one number of seconds since 1970 from another number of seconds since 1970. The result is a number of seconds, NOT a number of seconds since 1970.
You are then sending the number of seconds to a function that expects a number of seconds since 1970. Of course that function is going to mis-interpret the value that you pass in.