Demo entry 6644026

py

   

Submitted by anonymous on Sep 30, 2017 at 08:55
Language: Java. Code size: 202 Bytes.

public class Demo {
	public static void main(String[] args) {
		
		Calendar cal=Calendar.getInstance();
		cal.add(Calendar.DATE,-1);
		Date time=cal.getTime();
		System.out.println(time);
	}

}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).