On 26 May 2010 22:56, Miguel Verde <[email protected]> wrote:

> Right, in C# this would be (not the most efficient way, but you get the
> idea):
> long timestamp = (DateTime.Now.Ticks - new DateTime(1970, 1, 1).Ticks)/10;
>
>
> Yeah, you're fine provided:

a) All your client applications (which perform writes) are consistent and
b) Your infrastructure's clocks are fairly in sync.

The latter point is important to note, as a single app server node which has
a clock which is accidentally far in the future could wreck your database.

Mark

Reply via email to