I tried it this way too and it doesnt work.
Code:
long time = ((long)1000* degrees)/ 300; //degrees is 30
And BTW anyone have gmail and could possibly help me around 8:00 EST today, would reely appreciate it and thank you anyways for your help so far.