Created
October 11, 2017 08:27
-
-
Save hamdouni/d59802bc683a4f9cc6b6a7621f0a5d9a to your computer and use it in GitHub Desktop.
Print a date in java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Date; | |
public class printDate { | |
public static void main(String[] args) { | |
Date d = new Date(); | |
System.out.println(d); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment