getThisDay method

String getThisDay()

获取当前日期的日期字符串(两位,01-31)

示例:DateTime.now().getThisDay() -> "01"

Implementation

String getThisDay() {
  return day.toString().padLeft(2, '0');
}