Search

October 24, 2019
Learn »
...day, " ", deb.month, " ", deb.year);
writeln("Diff in days : ", (cast(DateTime)auj - deb).total!"days");
}
October 24, 2019
Learn »
...std.stdio;
import std.datetime;
import core.time...day, " ", auj.month, " ", auj.year);
writeln("Le début...
May 09, 2019
General »
...equivalent of casting to DateTime every time you...time such as the year or hour. So...
May 04, 2019
General »
...std.datetime, std.stdio;
    auto d = Clock.currTime();
    writefln("%04d/%02d/%02d", d.year, d...
May 04, 2019
General »
...cast(DateTime) Clock.currTime();
    import std.format: format;
    return format("%04d/%02d/%02d", d.year...
April 30, 2019
Learn »
...std.conv: to;
    DateTime d = DateTime(1990, 1...2])/3+1);
    d.year = m[3].to...
April 04, 2019
Announce »
...on the time-line
 * DateTime - full date and...a period of 1 year, 2 months, and...
March 29, 2019
General »
...to programming in first year in high school...types
Nullable, tuples, std.datetime, std.complex, std...
August 25, 2018
Learn »
...of course, casting to DateTime strips off the...using a property like year). Unfortunately, that still...
March 21, 2018
Learn »
...ushort second;
}

/* used by MAPI_DATETIME */
struct MapiDateTime
{
    short year;
    ushort month;
    ushort day;
    ushort...
1 2 3 4
Next ›   Last »