API:GetPlayerBuffLeftTime

__NOTOC__
GetPlayerBuffLeftTime
GetPlayerBuffLeftTime
GetPlayerBuffLeftTime(idx)
Used to determine the amount of time remaining for a certain buff (= effect duration time left).
== Parameters ==
=== Arguments ===
:;idx
::number - The index can be retrieved by calling [[API:GetPlayerBuff]|GetPlayerBuff].
=== Returns ===
:;number
::number - Time left.
== Example ==
 DEFAULT_CHAT_FRAME:AddMessage( GetPlayerBuffLeftTime( GetPlayerBuff(0, "HELPFUL") )/60);
== Notes ==
== Related Functions ==
* GetPlayerBuff