I am using the following code to get the current epoch time in kotlin.
val epochTime = Instant.now().toEpochMilli()
Output: 1628769521313
And now the question is how can I convert this timestamp to Unix hex timestamp (https://www.epochconverter.com/hex)
Thank you in advance