serverUtc constant

MssqlClock const serverUtc

The server's UTC clock: SYSUTCDATETIME().

The default because UTC is the only clock that stays consistent when a server moves or a database is restored onto a machine in another timezone. A datetime2 column stamped with UTC can be compared against any other UTC value without negotiation.

Implementation

static const MssqlClock serverUtc = MssqlClock._('SYSUTCDATETIME()');