C#: TimeSpan ToString Format

myTimeSpan.ToString("d'day 'h'hour 'm'min 's'sec'");

Comments

Popular posts from this blog

Cách khắc phục lỗi NodeJS chạy quá ngốn Ram trên Visual Studio 2017

Javascript: Calcuate MD5 hash of a large file

Razor: Convert Dictionary from Server to Javascript Dictionary