# CreateODBCDate()

Creates an ODBC date object.

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

**Status:** deprecated

```
CreateODBCDate( date=datetime, timezone=timezone );
```

**Returns:** datetime

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| date | datetime | Yes | date object; for example, [now()](now.md) |  |
| timezone | timezone | No | timezone to use |  |

# Examples

```cfml
dump(CreateODBCDate(now()));
```







# Categories

[Date and time](../../categories/datetime.md)