Change the project into Testing app
This commit is contained in:
11
app/src/main/java/com/example/hpostesting/test.kt
Normal file
11
app/src/main/java/com/example/hpostesting/test.kt
Normal file
@@ -0,0 +1,11 @@
|
||||
package com.example.hpostesting
|
||||
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Date
|
||||
import java.util.Locale
|
||||
|
||||
fun main(){
|
||||
val dateFormat = SimpleDateFormat("MM:HHddMMyyyy", Locale.getDefault())
|
||||
val currentDate = Date()
|
||||
print(dateFormat.format(currentDate))
|
||||
}
|
||||
Reference in New Issue
Block a user