Migrated Small workflow from legacy to Windows - I regret this so much

maybe following helps:

About the shown statement:
As string will be constructed to get it parsed into a datetime which is later returned as a string in
(“MM/dd/yyyy”) format.

DateTime.Now.ToString("MM/dd/yyyy") will do the same