Date Formating

Adam D. Ruppe destructionator at gmail.com
Tue Dec 12 16:01:49 UTC 2017


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("."];


More information about the Digitalmars-d-learn mailing list