CreateODBCDate()

Creates an ODBC date object.

CreateODBCDate is a subset of CreateODBCDateTime(). The time in the returned object is set to 00:00:00.

Status: deprecated

CreateODBCDate( date=datetime, timezone=timezone );

Returns: DateTime

Argument Description
date
datetime, required

date object; for example, now()

timezone
timezone, optional

timezone to use

Examples

dump(CreateODBCDate(now()));

See also