Documentation

DateTime

DateTime class for handling dates.

List of methods

MethodDescription
yearReturns year value.
quarterReturns quarter number value.
quarterStartReturns date value for quarter start.
quarterEndReturns date value for quarter end.
offsetReturns date value with specified offset.
toStringReturns date value as string.
getTimestampReturns current timestamp in class object format \Bitrix\Main\UI\Filter\number.
ConstructorConstructor of class DateTime.
monthReturns month value.

© «Bitrix24», 2001-2024
Up