package simple.practise;
import java.text.SimpleDateFormat;
import java.util.Date;
public class SimpleDate {
public static void main(String[] args) {
Date today = new Date(); //获取时间
SimpleDateFormat mY = new SimpleDateFormat("yyyy-MM-dd 'AT' HH:mm:SS");
//HH: 24 进制 hh: 12进制
String date = mY.format(today);
System.out.println(date);
}
}