These samples assume that the item sale expires in 15 days, 10 hours, and 5 minutes. |
Method | Signature | Comments/Sample | |
---|---|---|---|
|
| returns 0 | |
|
| returns 0 | |
|
| returns 2 | |
|
| returns 1 | |
|
| returns 10 | |
|
| returns 5 | |
|
| returns 0 | |
|
| returns 1332000 | |
|
| returns 22000 | |
|
| returns 370 | |
getCountdownLong | string getCountdownLong() | returns "2 weeks, 1 day, 10 hours, 5 minutes" | |
getCountdownShort
| string getCountdownShort() | returns "15:10:05:00"
|