構文
public String getSeconds()
戻り値
秒を表すストリング。戻り値は 00 から 59 です。
例
DtpDate toDay = new DtpDate(); System.out.println("Today is " + toDay.getDayOfMonth() + "/" + toDay.getNumericMonth() + "/" + toDay.getYear() + " " + toDay.getHours() + ":" + toDay.getMinutes() + ":" + toDay.getSeconds());
参照項目