/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;
import java.text.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		/*SimpleDateFormat dateFormatIST = new SimpleDateFormat("yyyy-MMM-dd HH:mm:ss");
		dateFormatIST.setTimeZone(TimeZone.getTimeZone("IST"));
		
		//Time in IST
		Date date1=dateFormatIST.parse( dateFormatIST.format(new Date()) );
		System.out.println(date1);

		*/
		
		SimpleDateFormat dateFormatIST = new SimpleDateFormat("yyyy-MMM-dd HH:mm:ss");
		dateFormatIST.setTimeZone(TimeZone.getTimeZone("IST"));
		
		//Local time zone   
		SimpleDateFormat dateFormatLocal = new SimpleDateFormat("yyyy-MMM-dd HH:mm:ss");
		
		//Time in IST
		Date date=dateFormatLocal.parse( dateFormatIST.format(new Date()) );
		System.out.println(date);
		
	}
}