How to get years from Time

  1. I want To get text value from example: 2020-09-09T03:45:56.583Z to 2 years, 1 month, 9 days automaticly

  2. I dont know how to do it

  3. I tried looking everywhere

I believe os.time() might help you.

i want to decode for example this: 2020-09-09T03:45:56.583Z to Years Months and days

Where are you getting this from?

im getting it from productinfo.Creation

Well, try checking out os. If you can’t find a solution there, you can always use string.split().