Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {
    public static void main(String[] argv) {
        System.out.println(daysToMillis(1));
    }

    public static long daysToMillis(long days) {
        long daysInMillis = days * 24L * 60L * 60000L;
        return daysInMillis;
    }

}