declare @t datetime2 = sysdatetime()select cast(cast(reverse(substring(cast(@t as binary(9)),2,5)) as binary(5)) as bigint)*100