Skip to navigation
Get the date from today with java
04.04.22
import java.text.SimpleDateFormat; import java.util.Date; public class SimpleDateFormatExample { public static void main(String[] args) { Date date = new Date(); SimpleDateFormat formatter = new SimpleDateFormat("dd/MM/yyyy"); String strDate= formatter.format(date); System.out.println(strDate); } }
https://www.javatpoint.com/java-simpledateformat
Reply
Anonymous
Information Epoch 1732506340
Development is an iterative process.
Home
Notebook
Contact us