Calculating hours minute and second

 import java.util.*;


public class printHMS{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int second = sc.nextInt();
int p1 = second % 60;
int p2 = second/60;
int p3 = p2%60;
p2 = p2/60;
System.out.println(p2+":"+p3+":"+p1);
}
}

Google Script for Data Entry Form in Google Spreadsheet

// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...