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 convert a binary number to decimal number
Write a Java program to swap the first and last elements of an array and create a new array
Write a Java program to print ‘Hello World!’ on screen
Write a Java program and compute the sum of the digits of an integer