ItemSaleExpiration SFO
Properties
Methods
note
These samples assume that the item sale expires in 15 days, 10 hours, and 5 minutes.
| Method | Signature | Comments/Sample |
|---|---|---|
getYear | integer getYear() | returns 0 |
getMonth | integer getMonth() | returns 0 |
getWeek | integer getWeek() | returns 2 |
getDay | integer getDay() | returns 1 |
getHour | integer getHour() | returns 10 |
getMinute | integer getMinute() | returns 5 |
getSecond | integer getSecond() | returns 0 |
getTotalSeconds | integer getTotalSeconds() | returns 1332000 |
getTotalMinutes | integer getTotalMinutes() | returns 22000 |
getTotalHours | integer getTotalHours() | returns 370 |
| getCountdownLong | string getCountdownLong() | returns "2 weeks, 1 day, 10 hours, 5 minutes" |
| getCountdownShort | string getCountdownShort() | returns "15:10:05:00" :::note This method is approximate for durations of 1 month or greater ::: |
See Also
Was this page helpful?