Exemplo n.º 1
0
 static function OpenNew()
 {
     ESQL::Query('update usage_period set end_date = NOW() where end_date is null');
     return ESQL::Query('insert into usage_period(start_date) values(NOW())');
 }