mirror of
https://github.com/gabehf/tempus.git
synced 2026-03-11 00:10:35 -07:00
14 lines
362 B
Java
14 lines
362 B
Java
package com.cappielloantonio.play.util;
|
|
|
|
import java.text.SimpleDateFormat;
|
|
import java.util.Date;
|
|
|
|
public class Util {
|
|
public static String getDate() {
|
|
String pattern = "EEEE, MMMM d";
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(pattern);
|
|
String date = simpleDateFormat.format(new Date());
|
|
|
|
return date;
|
|
}
|
|
}
|