import java.util.Date;
import org.apache.commons.lang.time.DateFormatUtils;
public class Main {
public static void main(String[] args) {
Date today = new Date();
String timestamp = DateFormatUtils.ISO_DATETIME_FORMAT.format(today);
System.out.println("timestamp = " + timestamp);
}
}