Your Airkit journey starts here

DATE_FROM_DATETIME

Get the date from a dateTime.

Declaration

DATE_FROM_DATETIME(datetime, format_options) -> date
DATE_FROM_DATETIME(datetime) -> date

Parameters

datetime
object -Any datetime
format_options
string -Use the format options table to display the date time correctly

Return Values

date
date -The date part of the datetime.