Skip to main content

DateTimeExtensions

A static class in Root.Township, the global namespace.

Formats a date for use in file and folder names, for example by profiling commands.

Fields​

MemberWhat it is
const string FolderSaveFormatThe format used: yyyy-MM-dd_HH-mm-ss.

Methods​

MemberWhat it is
static string ToFolderFriendlyString(DateTime dateTime)Formats the date with FolderSaveFormat.