On Thursday, 20 November 2014 at 13:50:49 UTC, Suliman wrote:
I can't understand how to get date in format yyyy-MM-dd from Clock.currTimeauto time = Clock.currTime;And what next? Could anybody give any examples?
http://dpaste.dzfl.pl/73c0438f9d1e currTime returns SysTime; You can then cast is to Date.And Date has toISOExtString which converts Date to a string with the format YYYY-MM-DD.