DateManager SFO
Properties
| Field | Type | Comment/Sample |
|---|
Methods
| Method | Returns | Parameters | Parameter Types | Comments/Sample |
|---|---|---|---|---|
currentTime | date | none | none | |
differenceInDays(earlierDate, laterDate) | integer | earlierDate laterDate | date date | number of whole days difference between the two dates |
isCurrentTimeAfter(timeMilitaryFormat | boolean | timeMilitaryFormat | string | true if the current time is after the military formatted date string |
isCurrentTimeBefore(timeMilitaryFormat | boolean | timeMilitaryFormat | string | true if the current time is before the military formatted date string |
isCurrentTimeBetween(startDayOfWeek, startTimeMilitaryFormat, stopDayOfWeek, stopTimeMilitaryFormat) | boolean | startDayOfWeek\\startTimeMilitaryFormat\\endDayOfWeek endTimeMilitaryFormat | string\\string\\string string | the days of week should be "Sun" or "Sunday" |
| parse(format, strDate) | date | format strDate | string string | |
See Also
Was this page helpful?