Как получить текущую дату? |
Previous Top Next |
Code: |
// make the SQL dependent on type of DBMS
if AppLibrary.Database.DriverName = 'ORACLE' then SQL.Add('and entry_date < SYSDATE') else SQL.Add('and entry_date < "TODAY"'); end; |
©Drkb::02729
Взято с Delphi Knowledge Base: http://www.baltsoft.com/