# CreateODBCDateTime()

Creates an ODBC date-time object; for example, `{ts '2015-08-07 14:33:03'}`.

**Status:** deprecated

```
CreateODBCDateTime( date=datetime );
```

**Returns:** datetime

# Arguments

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

# Examples

```cfml
dump(CreateODBCDateTime(now()));
```







# Categories

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