Class DateUtils

java.lang.Object
com.anhtester.utils.DateUtils

public final class DateUtils extends Object
  • Method Details

    • getCurrentDate

      public static String getCurrentDate()
      Returns:
      lấy ra ngày tháng năm hiện tại của máy theo cấu trúc mặc định
    • getCurrentDateTime

      public static String getCurrentDateTime()
      Returns:
      lấy ra ngày tháng năm và giờ phút giây hiện tại của máy theo cấu trúc dd/MM/yyyy HH:mm:ss
    • getCurrentDateTimeCustom

      public static String getCurrentDateTimeCustom(String separator_Character)