Как получить текущее время?

Previous  Top  Next

    
 

 

 

 

InterBase supports four DATE literals. They are: 'today', 'yesterday', 'tomorrow' and 'now'

Use it with a cast as shown in the example below.

 

insert into mytable values(cast('now' as DATE), 'Test')

©Drkb::02905

Взято с Delphi Knowledge Base: http://www.baltsoft.com/