Date Formating
Vino
vino.bheeman at hotmail.com
Tue Dec 12 16:23:57 UTC 2017
On Tuesday, 12 December 2017 at 16:01:49 UTC, Adam D. Ruppe wrote:
> On Tuesday, 12 December 2017 at 15:56:59 UTC, Vino wrote:
>> Request out help on date formatting, I have code which
>> output the date and time as below , i we need it without the
>> last few numbers.,ie "YYYY-MMM-DD HH:MM:SI"
>
> Just slice it off. x[0 .. x.lastIndexOf("."];
Hi,
I tried it but no luck, as the output is a function return in
type SysTime.
From,
Vino.B
More information about the Digitalmars-d-learn
mailing list