mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-01 05:39:27 +02:00
MINOR Changed MSSQLDatabase::now() block comment to be more useful
This commit is contained in:
parent
de7068d591
commit
7d67d25402
@ -1025,11 +1025,9 @@ class MSSQLDatabase extends SS_Database {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Because NOW() doesn't always work...
|
* SQL Server uses CURRENT_TIMESTAMP for the current date/time.
|
||||||
* MSSQL, I'm looking at you
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
function now(){
|
function now() {
|
||||||
return 'CURRENT_TIMESTAMP';
|
return 'CURRENT_TIMESTAMP';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user