These functions are alternatives to using the DATE_PART (or EXTRACT) function with the equivalent date part (see Supported date and time parts). A date or a timestamp, or an expression that can be evaluated to a date or a timestamp. This function returns a value of type NUMBER.