Name

dayofmonth — get day of month from a datetime

Synopsis

dayofmonth ( in dt datetime );
 

Description

dayofmonth takes a datetime and returns an integer containing day of the month represented by the datetime

Parameters

dt

A datetime .

Return Values

An INTEGER containing the day of month.

Examples

Example 24.83. Simple example

Get current day of month.