Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

 

Properties

Methods

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
getCountdownLongstring getCountdownLong()returns "15 days, 10 hours, 5 minutes"
getCountdownShortstring getCountdownShort()

returns "15:10:05:00"

This method is approximate for durations of 1 month or greater

See Also

 

  • No labels