D as a prototyping language (for C/C++ projects)

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Feb 26 15:39:08 PST 2013


On 2/26/13 4:01 PM, Jacob Carlborg wrote:
> On 2013-02-26 20:52, H. S. Teoh wrote:
>
>> Do you have any specific examples?
>
> Return the date from two days ago:
>
> Ruby on Rails:
> 2.days.ago
> Date.today
> Time.now

The last two return the time right now, how come?

Andrei



More information about the Digitalmars-d mailing list