JDatabaseQuerySqlsrvTest::testDateAdd
Tests the JDatabaseQuerySqlsrv::dateAdd method
Signature
public function testDateAdd(datetime
$date,
string
$interval,
string
$datePart,
string
$expected )
Parameters
-
$date
- The date or datetime to add to.
-
$interval
- The maximum length of the text.
-
$datePart
- The part of the date to be added to (such as day or micosecond)
-
$expected
- The expected result.
Returns
- void