Skip to content

Commit ecde79b

Browse files
authored
Merge pull request codec-akash#57 from charchithere/patch-1
Current Date and Time , Java Program
2 parents 31c74c8 + d2d365e commit ecde79b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

CurrentDateAndTime.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
public class CurrentDateAndTime{
2+
public static void main(String args[]) {
3+
LocalDateTime current = LocalDateTime.now();
4+
5+
System.out.println("Current Date and Time is: " + current)
6+
}
7+
}

0 commit comments

Comments
 (0)