I am trying to get the current timestamp of the android device
Below is the code
<code>val calendar = Calendar.getInstance()
val simpleDateFormat = SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
val currentTimeStamp = simpleDateFormat.format(calendar.time).toString()
</code>
<code>val calendar = Calendar.getInstance()
val simpleDateFormat = SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
val currentTimeStamp = simpleDateFormat.format(calendar.time).toString()
</code>
val calendar = Calendar.getInstance()
val simpleDateFormat = SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
val currentTimeStamp = simpleDateFormat.format(calendar.time).toString()
In some of the devices I am getting timestamp as u0662u0660u0662u0664-u0660u0668-u0660u0665 u0660u0668:u0662u0661:u0661u0669
What kind of format is this?