numeric() numeric( $format) : integer Format the date unsing the specified format and return a number. Parameters $format Returns integer
string() string( $format) : string Format the date unsing the specified format and return a string. Parameters $format Returns string
format() format( $format) : string|integer Format the date using the specified format. This method will convert the result to an integer if it looks like one. Parameters $format Returns string|integer