C#C
C#3y ago
37 replies
Jarski

❔ "string was not recognised as valid DateTime"

trying to make a super simple custom backup program that backs up my win user folder to a network share,

I can run the program fine on my pc but as soon as i try the build/publish on another pc, i get the error "string was not recognised as valid DateTime."

I have parsed the string so it should be good, but obviously not. am i blind? and yes everything is shoved together, im not the cleanest coder in the west and ive had chatgpt help me along the way.

https://paste.ofcode.org/LeEn8UGHtixCHGKq9hGsJb
Was this page helpful?