User:RavynousHunter/Notepad

Notepad for me to test shit out and help dudes with stuff...

Millisecond Converter for Aiden:

milliseconds / 1000 = seconds seconds / 60 = minutes minutes / 60 = hours

Now, in code, it should look similar to this:

public static int[] millisecond_converter( int millis ) {   int[] time = new int[3]; int  hours; int  minutes; int  seconds;

seconds = ( (int) millis / 1000 ); minutes = ( (int) seconds / 60 ); hours  = ( (int) minutes / 60 );

time[0] = hours; time[1] = minutes; time[2] = seconds;

return time; }