section1 min read
Dates and numbers
DateTime, date formatting, Duration and Period, and BigDecimal.
These pages are for developers who calculate with dates, durations and decimal numbers in scripts.
In this section
DateTime
Constructors, constants and methods of the DateTime object, which creates, compares, shifts and formats dates and times in server scripts.
Developer2 minDateTime formatting and time zones
The pattern letters, style tokens, locales and time zone IDs that DateTime accepts when it formats, parses and converts dates in server scripts.
Developer2 minDuration and Period
Constructors and methods of the Duration and Period objects, which measure and build lengths of time in server scripts.
Developer1 minBigDecimal
Constructors and methods of BigDecimal for exact decimal arithmetic, and of Money for formatting amounts as currency, in server scripts.
Developer2 min