Dates, Durations, and Locales

Date construction, formatting, calendars, duration arithmetic, time zones, and locale-aware formatting.

Subcategories

Date Functions 10Date Members 31Durations 19

Reference Pages

date

Creates a date value.

date_msec

Returns millisecond timing information.

locale

Creates a locale used by date formatting.

date->am

date->am is a member in the Date Members group; call it on the receiver shown before the arrow.

date->ampm

date->ampm is a member in the Date Members group; call it on the receiver shown before the arrow.

date->clear

date->clear is a member in the Date Members group; call it on the receiver shown before the arrow.

date->dayOfMonth

date->dayOfMonth is a member in the Date Members group; call it on the receiver shown before the arrow.

date->dayOfWeek

date->dayOfWeek is a member in the Date Members group; call it on the receiver shown before the arrow.

date->dayOfWeekInMonth

date->dayOfWeekInMonth is a member in the Date Members group; call it on the receiver shown before the arrow.

date->dayOfYear

date->dayOfYear is a member in the Date Members group; call it on the receiver shown before the arrow.

date->dst

date->dst is a member in the Date Members group; call it on the receiver shown before the arrow.

date->dstOffset

date->dstOffset is a member in the Date Members group; call it on the receiver shown before the arrow.

date->get

date->get is a member in the Date Members group; call it on the receiver shown before the arrow.

date->getFormat

date->getFormat is a member in the Date Members group; call it on the receiver shown before the arrow.

date->gmt

date->gmt is a member in the Date Members group; call it on the receiver shown before the arrow.

date->hourOfAMPM

date->hourOfAMPM is a member in the Date Members group; call it on the receiver shown before the arrow.

date->hourOfDay

date->hourOfDay is a member in the Date Members group; call it on the receiver shown before the arrow.

date->pm

date->pm is a member in the Date Members group; call it on the receiver shown before the arrow.

date->set

date->set is a member in the Date Members group; call it on the receiver shown before the arrow.

date->time

date->time is a member in the Date Members group; call it on the receiver shown before the arrow.

date->weekOfMonth

date->weekOfMonth is a member in the Date Members group; call it on the receiver shown before the arrow.

date->weekOfYear

date->weekOfYear is a member in the Date Members group; call it on the receiver shown before the arrow.

date->zoneOffset

date->zoneOffset is a member in the Date Members group; call it on the receiver shown before the arrow.

locale->format

locale->format is a member in the Date Members group; call it on the receiver shown before the arrow.

date_add

Adds a duration or date fields to a date.

date->-

date->- is a member in the Durations group; call it on the receiver shown before the arrow.

date->+

date->+ is a member in the Durations group; call it on the receiver shown before the arrow.

date->businessDaysBetween

date->businessDaysBetween is a member in the Durations group; call it on the receiver shown before the arrow.

date->daysBetween

date->daysBetween is a member in the Durations group; call it on the receiver shown before the arrow.

date->hoursBetween

date->hoursBetween is a member in the Durations group; call it on the receiver shown before the arrow.

date->minutesBetween

date->minutesBetween is a member in the Durations group; call it on the receiver shown before the arrow.

date->roll

date->roll is a member in the Durations group; call it on the receiver shown before the arrow.

date->secondsBetween

date->secondsBetween is a member in the Durations group; call it on the receiver shown before the arrow.

duration->minute

duration->minute is a member in the Durations group; call it on the receiver shown before the arrow.

duration->month

duration->month is a member in the Durations group; call it on the receiver shown before the arrow.

duration->second

duration->second is a member in the Durations group; call it on the receiver shown before the arrow.

duration->week

duration->week is a member in the Durations group; call it on the receiver shown before the arrow.

duration->year

duration->year is a member in the Durations group; call it on the receiver shown before the arrow.