Hi,
I have a date that is in a format called 'String(Generalized-Time)', see MSDN below, I need to check if this date is today and if it is do X.
http://msdn.microsoft.com/en-us/library/ms684436%28VS.85%29.aspx
To complicate this slightly I have a int that is in this example 4, if the int is 4 then I want to check if the date that is in the 'String(Generalized-Time)' format is in the last 4 days, the int maybe 7, 24, 30 etc.
How would I write this? I'm a novice and very grateful of the help.
Thanks