Scalar-valued Functions [dbo].[UTCNow2Secs]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
SQL Script
create function UTCNow2Secs() returns integer
as
begin
return DATEDIFF(s,'1970-01-01', getUTCDate());
end
GO
Uses