I need to store exact DateTime as a filename, and restore it when needed.
Pattern dd_MM_yyyy hh_mm_ss_ff tt doesn’t seem to match the original date (after using DateTime.ParseExact, so I believe part of the date is lost upon conversion. Is ticks the smallest part of DateTime? How to save it to string as well?
I need to store exact DateTime as a filename, and restore it when needed.
Share
Yes, ticks represent the smallest measurement on a DateTime.