function bb2_db_date in Bad Behavior 6.2
Same name and namespace in other branches
- 5.2 badbehavior.module \bb2_db_date()
- 6 badbehavior.module \bb2_db_date()
- 7.2 badbehavior.module \bb2_db_date()
Return current time in the format preferred by your database.
Return value
string
File
- ./
badbehavior.module, line 121 - Integrates Bad Behavior with Drupal
Code
function bb2_db_date() {
return gmdate('Y-m-d H:i:s');
// Example is MySQL format
}