⚠ Deprecated: Legacy
Suggested alternative: GCCHigh.Extensions.String
Extensions.String contains extension methods for the String class.
$ dotnet add package Extensions.String.csThe following classes have been extended:
- System.String
with these methods:
Returns a string representing the current local date time stamp to
either just the day or down to the millisecond. Used for creating
unique log file names.
For example:
TimeStamp()
will return
2021-03-01@06.01.02.003
whereas
TimeStamp(true)
will return
2021-03-01