2023-06-28 12:41:18 +05:30
|
|
|
package com.example.hpostesting
|
2023-06-08 19:27:34 +05:30
|
|
|
|
|
|
|
|
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))
|
|
|
|
|
}
|