Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 806 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 806 Bytes

Build Algoritm v1.0

All function algoritm implemented with Java

How to use it?

  1. Open project with your Android Studio IDE App
  2. Open package id.septiyadi.buildalgoritma (test)
  3. Then open the collection file you want to test and see the output

Implemented Algorithm Collection

Below is a collection that we have created and can / friends use on some of the code blocks of the program that you are making

1. Get Date Today

Get date and time

@TimeAndDate.java > getTodayDate

@Test
public void getTodayDate() {
    SimpleDateFormat format = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
    Date today = new Date();
    String todayTime = format.format(today);

    System.out.print(todayTime);
}

Output

28/10/2021 05:23:36