DateTime custom string format

2014-06-03 Thread Robert Schadek via Digitalmars-d-learn
Is there a function in phobos that lets me do something like DateTime.format(MM:DD: ) with a DateTime instance?

Re: DateTime custom string format

2014-06-03 Thread Jonathan M Davis via Digitalmars-d-learn
On Tue, 03 Jun 2014 17:07:02 +0200 Robert Schadek via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: Is there a function in phobos that lets me do something like DateTime.format(MM:DD: ) with a DateTime instance? Not currently. It's on my todo list. I intend to get back

Re: DateTime custom string format

2014-06-03 Thread Robert Schadek via Digitalmars-d-learn
On 06/03/2014 07:12 PM, Jonathan M Davis via Digitalmars-d-learn wrote: On Tue, 03 Jun 2014 17:07:02 +0200 Robert Schadek via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: Is there a function in phobos that lets me do something like DateTime.format(MM:DD: ) with a

Re: DateTime custom string format

2014-06-03 Thread Jonathan M Davis via Digitalmars-d-learn
On Tue, 03 Jun 2014 19:39:14 +0200 Robert Schadek via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: On 06/03/2014 07:12 PM, Jonathan M Davis via Digitalmars-d-learn wrote: On Tue, 03 Jun 2014 17:07:02 +0200 Robert Schadek via Digitalmars-d-learn

Re: DateTime custom string format

2014-06-03 Thread Robert Schadek via Digitalmars-d-learn
On 06/03/2014 08:22 PM, Jonathan M Davis via Digitalmars-d-learn wrote: On Tue, 03 Jun 2014 19:39:14 +0200 Robert Schadek via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: On 06/03/2014 07:12 PM, Jonathan M Davis via Digitalmars-d-learn wrote: On Tue, 03 Jun 2014 17:07:02

Re: DateTime custom string format

2014-06-03 Thread Brad Anderson via Digitalmars-d-learn
On Tuesday, 3 June 2014 at 18:22:59 UTC, Jonathan M Davis via Digitalmars-d-learn wrote: Well, I would prefer to do it myself, but I obviously can't say that I wouldn't accept it if someone else did it and did a good job of it. The main problem however is that we need to come up with a good

Re: DateTime custom string format

2014-06-03 Thread Jonathan M Davis via Digitalmars-d-learn
On Tue, 03 Jun 2014 22:54:11 + Brad Anderson via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: On Tuesday, 3 June 2014 at 18:22:59 UTC, Jonathan M Davis via Digitalmars-d-learn wrote: Well, I would prefer to do it myself, but I obviously can't say that I wouldn't accept