When you updated your IDE, did you delete all the files from any previous Arduino installation?
Yes I deleted the app and copied the new one. After you suggestion I did it again but the problem remains.
On MAC the IDE appears as one .app instead of the folder structure. So from what i can see i just have to delete that and copy the new one right?
Its weird, cause if i compile another sketch, then this one works...it might be some order or dependency issue right? but no combination i try gave me a easy way out as yet.
When i originally downloaded the IDE on my OSX 10.9.3. This behavior did not happend. Then I added the Time Library you provided and i have the same behavior as yours. I would recommend renaming the custom Time library to a different name. Having two libraries with the same name can cause unpredictable behavior. Then choosing what Time library you want to use in your sketch.
thanks! that works.
There is a time library with the new IDE?
On the arduino page they point to the same library that i have downloaded.