import java.text.SimpleDateFormat;
import java.util.Date;
public class MvSDatumZeit {
private static final SimpleDateFormat sdf_stunde_minute = new SimpleDateFormat("HH:mm");
private static final SimpleDateFormat sdf_datum_zeit = new SimpleDateFormat("dd.MM.yyyy  HH:mm:ss");
<BUG>private static final SimpleDateFormat sdf_datum = new SimpleDateFormat("dd.MM.yyyy");
public static String getJetzt() {
Date today;
String output;
today = new Date();
output = sdf_datum_zeit.format(today);
return output;</BUG>
}

import java.text.SimpleDateFormat;
import java.util.Date;
public class MvSDatumZeit {
private static final SimpleDateFormat sdf_stunde_minute = new SimpleDateFormat("HH:mm");
private static final SimpleDateFormat sdf_datum_zeit = new SimpleDateFormat("dd.MM.yyyy  HH:mm:ss");
private static final SimpleDateFormat sdf_datum = new SimpleDateFormat("dd.MM.yyyy");
private static final SimpleDateFormat sdf_datum_yyyy_MM_dd = new SimpleDateFormat("yyyy.MM.dd");
public static String getJetzt() {
return sdf_datum_zeit.format(new Date());
}
