Skip to main content

Questions tagged [time]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8 votes
2 answers
403 views

How can we convert the timestamp to the date/time in Substrate pallet?

I need to get the system time in my pallet for which I am able to get the epoch format like 1590512778000. Now I need to convert this time to the date-time. I tried many ways but none worked. Can you ...
Pankaj's user avatar
  • 2,021
3 votes
3 answers
373 views

How to use the scale decoder to parse extrinsics?

How to use the scale decoder to parse extrinsics? I tried to get the timestamp of this block in this way, but the result was not correct. Which friend has a specific example of analysis for me? thank ...
Andy's user avatar
  • 73