Skip to content
Advertisement

Tag: iot

How to convert date time in hex in android

I need to convert date and time in hex code for writing it on IOT device. Here is my code It is returning 11 digits hex code I need 8 digits, just like date and time in hex is 47C7EDE0 for this date 12:34:56 29/Feb/2008 Please help Answer Try this:

Advertisement