DateTime formatting
Steven Schveighoffer
schveiguy at yahoo.com
Wed Dec 20 18:48:14 UTC 2017
On 12/20/17 9:30 AM, bauss wrote:
> I can't seem to find anything in Phobos that allows you to specify
> custom formats for dates.
>
> Am I on my own or is there already such functionality?
You are on your own. Some of the pieces are available, but having
support for everything you may want to do with calendars and
representation is quite a lot to add to Phobos.
> I'm interested in a formatter with the possibility to output ex.:
>
> December 20th, 2017 10:00 AM
You will need to build yourself. I checked code.dlang.org, there doesn't
seem to be anything (surprising).
-Steve
More information about the Digitalmars-d-learn
mailing list