I want to give the program time in java. How can I get the time in seconds? This is my program:
public static void main(String[] args) { long start = System.nanoTime(); System.out.print(start); } For example when i run the program show 7955739220574 nano time. that mean's 7955 second. Is this time is really for this program!!!!!? Thank you.