import org . Apache . commons . lang . time . dateformatutils;
導入Java . util . date;
string current month = dateformatutils . format(new Date()," MM ");//當前月份
string current year = dateformatutils . format(new Date(),“yyyy”);//當前年份
string current day = dateformatutils . format(new Date(),“DD”);//今天