Format Date

PHOTO EMBED

Tue Apr 19 2022 08:05:37 GMT+0000 (Coordinated Universal Time)

Saved by @kamrantariq_123 #xml #java #date #format

  private String getFormatedDate(long time){
        simpleDateFormat = new SimpleDateFormat("dd/MM/yyyy");
        String formatedDate = simpleDateFormat.format(time);
        return formatedDate;
    }
content_copyCOPY