Upload files to "/"
This commit is contained in:
commit
cb01cc1d37
16
CurrentTime.java
Normal file
16
CurrentTime.java
Normal file
@ -0,0 +1,16 @@
|
||||
package de.vimo;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
public class CurrentTime {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Date date = new Date();
|
||||
SimpleDateFormat DateFor = new SimpleDateFormat("dd-MM-yyyy hh:mm:ss");
|
||||
String stringDate = DateFor.format(date);
|
||||
|
||||
System.out.println(stringDate);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user