Re: Getting the current datetime converted into a string for writing to stdout

2014-03-31 Thread Gary Willoughby
On Saturday, 29 March 2014 at 05:01:14 UTC, Gary Miller wrote: I've been reading through and trying various code fragments to pull the system date/time in and format it as a string for display on the console. Here's a good primer on the datetime module: http://dlang.org/intro-to-datetime.html

Re: Getting the current datetime converted into a string for writing to stdout

2014-03-31 Thread Gary Willoughby
On Saturday, 29 March 2014 at 05:01:14 UTC, Gary Miller wrote: I've been reading through and trying various code fragments to pull the system date/time in and format it as a string for display on the console. I only need it down to the second and from my current machine so I don't need to use

Getting the current datetime converted into a string for writing to stdout

2014-03-31 Thread Gary Miller
I've been reading through and trying various code fragments to pull the system date/time in and format it as a string for display on the console. I only need it down to the second and from my current machine so I don't need to use any of the more accurate clocks used for benchmarking right no

Re: Getting the current datetime converted into a string for writing to stdout

2014-03-31 Thread Kagamin
On Sunday, 30 March 2014 at 08:25:43 UTC, Andre Artus wrote: Considering the international spread of D users I find it surprising that the date & time formatting functions in phobos are not localizable. Formatting should confined to presentation tier: GUI controls, web page generation and must

Re: Getting the current datetime converted into a string for writing to stdout

2014-03-30 Thread Jonathan M Davis
On Sunday, March 30, 2014 08:25:42 Andre Artus wrote: > Considering the international spread of D users I find it > surprising that the date & time formatting functions in phobos > are not localizable. If could go back, there wouldn't even be anything to localize. toSimpleString is there because

Re: Getting the current datetime converted into a string for writing to stdout

2014-03-30 Thread Andre Artus
On Saturday, 29 March 2014 at 05:01:14 UTC, Gary Miller wrote: -- SNIP -- I only need it down to the second and from my current machine so I don't need to use any of the more accurate clocks used for benchmarking right now. On Saturday, 29 March 2014 at 09:30:44 UTC, Gary Willoughby wrote: