Andrej Mitrovic <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |
         Resolution|                            |FIXED

--- Comment #1 from Andrej Mitrovic <> 2011-05-24 
21:28:15 PDT ---
You can now use std.datetime.SysTime.year, as recommended in the "Migrating
from to std.datetime" article that will be up on soon.

import std.datetime;
auto year = (cast(DateTime)Clock.currTime()).year;

It takes 128 microseconds on my machine. Hope that's fast enough. Otherwise
file a bug report for std.datetime.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to