Java program to convert days to seconds