I would like for:
1) Submission Date label : To be a fixed date which is when the user submits the form (Created Date)
2) I need to calculate the number of days from when the user submits the form till the time the form is accessed by the server (Calculate the aging days) (Current Date)
My main issue is with trying to store the date the form is submitted on. Any ideas on how I can do this?
At the end of the day I need to display the submission day and aging days.
(Ps: I tried searching online but I can't seem to find anything to help me with this main issue. I'm also a newbie so I'll really appreciate if you were detailed in your explanation.)
Detailed Explanation:
If the user submits the form on 10 July 2015, the date submitted label would display 10/7/15. However, given that the person on the server side only attends to it today, 15 July 2015, the aging days would thus be the number of days between the 2 dates which would be 5.
I am able to get the current day (which would represent the date the person on the server side attends to the form. My issue is I need to store the date the form was submitted which would be 10 July 2015.
I have tried the code below to get the date the form was edited by the person on the server side:
DateLabel.Text = DateTime.Now.ToShortDateString();
Now, I need to be able to store the date the form was submitted to the server.
Both the submitted date and current day are represented in labels.
Thank you in advance!