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