API Reference > imodeljs-backend > ECSQL > ECSqlStatement > bindDateTime bindDateTime Method Binds a DateTime value to the specified ECSQL parameter. bindDateTime(parameter: number | string, isoDateTimeString: string): void Parameter Type Description parameter number | string Index (1-based) or name of the parameter isoDateTimeString string DateTime value as ISO8601 string Returns - void Defined in core/backend/src/ECSqlStatement.ts Line 137 Last Updated: 13 June, 2024