Delphi - база знаний

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


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





InterBase supports four DATE literals. They are: 'today', 'yesterday', 'tomorrow' and 'now'
Use it with a cast as shown in the example below.

insertinto mytable values(cast('now' as DATE), 'Test')

Взято с

Delphi Knowledge Base




Содержание раздела