You can use this:http://blog.bluemagica.com/?p=11
just create it with the maximum time, and then update with the time remaining value.