I think maybe you want to use DateTime
, and particularly, DateTime.Now
- as with comments to the question however, I'm not properly sure.
So, something like:
UsingTheApplicationForm = String.Format("{0:dddd, MMMM d, yyyy}", DateTime.Now);
The 'always' part is very confusing though, I'm just going to buy into my own translation, where always = each startup
.
I would also conjecture that, given the property/variable name of UsingTheApplicationForm
, this value is an indicative field, rather than a descriptive one; for this reason, may just using DateTime.Now
without any formatting, or even just a boolean (depends what fits your situation) fit the bill?
Edit:
For information on using this method, or any of the others, along with persisting this data for the next run, see the following question and answers...
Editing app.config in execution time using the same App