public class Main { public static void main(String[] args){ System.out.format("\nCurrent Date time of Your system is: %tc%n\n", System.currentTimeMillis()); } }
Current Date time of Your system is: Thu Jan 04 20:39:34 IST 2024
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Write a Java program to convert a decimal number to binary numbers
Write a Java program to count the letters, spaces, numbers and other characters of an input string
Write a Java program to print the odd numbers from 1 to 20
Write a Java program to print the sum, multiply, subtract, divide and remainder of two numbers
Write a Java program to display the system time