News for hackers. Stuff that matters.
Re:Rust is surprisingly expressive by tizoc on Saturday December 28, 2013 @03:14PM (#6976276)
From where is that?

This is how it works in C# (and .NET in general)

DateTime.Now.AddDays(-2)

Not wanting to overload integers with calendar functionality doesn't mean you have to make it so cumbersome.

Edit: typo

Re:Rust is surprisingly expressive by usea on Saturday December 28, 2013 @07:13PM (#6977341)
You can also do:

  DateTime.Now - TimeSpan.FromDays(2)