Refresh time...Can anyone help me please??

Aren't time elements unsigned long?

Yes, but longs are still integers. I guess I should have spelled out integer.