Re: Formated Output and file creation time

2017-08-18 Thread Vino.B via Digitalmars-d-learn
On Wednesday, 16 August 2017 at 17:03:51 UTC, H. S. Teoh wrote: On Wed, Aug 16, 2017 at 03:30:18PM +, Vino.B via Digitalmars-d-learn wrote: [...] [...] Try this: writefln("%-36s %8s %.20s", d, d.size, d.timeCreated()); T Hi Teoh, Thank you very much, it worked.

Re: Formated Output and file creation time

2017-08-16 Thread H. S. Teoh via Digitalmars-d-learn
On Wed, Aug 16, 2017 at 03:30:18PM +, Vino.B via Digitalmars-d-learn wrote: [...] > Current Output > C:\Test1\Test2\T.txt 1234 2017-Aug-16 19:10:54.0618385 > C:\Test1\Test2\TX.txt 1234 2017-Aug-16 19:10:54.0618385 > C:\Test1\Test2\TXXX.txt 1234 2017-Aug-16

Formated Output and file creation time

2017-08-16 Thread Vino.B via Digitalmars-d-learn
Hi, I have a small program which will list the file names, size and creation date and time, the output of the program is as below and required your help to print the output as per "Required Output" Current Output C:\Test1\Test2\T.txt 1234 2017-Aug-16 19:10:54.0618385