Server SQL 2 menit terakhir
SELECT DATEADD(minute, -30, GETDATE())
Kirk-Patrick Brown
SELECT DATEADD(minute, -30, GETDATE())
DATEADD(day, -2, GETDATE()) /* last 2 days*/