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:
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
- Date and time
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)