WoWInterface - View Single Post - Time format question
View Single Post
08-28-19, 12:50 AM   #2
A Rage Talon Dragon Guard
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 328
duration is a float, it gives you seconds and milliseconds. If you want to show minutes, hours, days, etc., you'll need to do some maths. For example, math.floor(duration / 60) will give you minutes, math.floor(duration / 3600) will result in hours, and so on.
  Reply With Quote