December 19, 2022 General » Re: Actual immutability enforcement by placing immutable data into read-only sections | |||
|---|---|---|---|
| |||
...import std.datetime : Clock;
immutable int a;
shared static this()
{
a = Clock.currTime().year;
}
void... | |||
December 17, 2022 Issues » [Issue 18552] std.datetime.date.Date strips year int argument to short | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=18552 Iain Buclaw <ibuclaw@gdcproject.org> changed... | |||
November 05, 2021 Announce » D Language Foundation Quarterly Meeting, October 2021 | |||
|---|---|---|---|
| |||
...customize the visualization of `DateTime` in vibe.d...production for over a year, and in that... | |||
August 10, 2021 General » D's tail | |||
|---|---|---|---|
| |||
...Does anyone have 12 year old code that...from reading the `std.datetime` article, and how... | |||
April 09, 2021 Learn » weird formattedRead | |||
|---|---|---|---|
| |||
...std : formattedRead, DateTime, stderr, each; DateTime parseDT(string...valid month of the year. INVALID '1': parseToFormatSpec... | |||
September 10, 2020 Learn » Re: Access violation when using IShellFolder2 | |||
|---|---|---|---|
| |||
...VariantTimeToSystemTime(date, &st); auto year = st.wYear; auto...object using SYSTEMTIMEToSysTime from the std.datetime package. | |||
June 28, 2020 General » std.datetime: easy way to parse 24/Jun/2020? | |||
|---|---|---|---|
| |||
The day and year obviously are easy, is there a way to easily parse the... | |||
May 08, 2020 General » Re: Documentation Improvement Initiative | |||
|---|---|---|---|
| |||
...import std.datetime;
Date today()
{
SysTime time = Clock.currTime();
return Date(time.year, time.month... | |||
February 08, 2020 General » Re: DIP 1030--Named Arguments--Community Review Round 1 Discussion | |||
|---|---|---|---|
| |||
...already have a function DateTime that takes day, month and year, whether or not you... | |||
November 13, 2019 Learn » Add a duration (in Days) to a Date | |||
|---|---|---|---|
| |||
...auj.year);
writeln("Le début : ", deb.day, " ", deb.month, " ", deb.year);
Duration diff = cast(DateTime... | |||
Copyright © 1999-2021 by the D Language Foundation