As the title states, what methods / activities might be helpful to compare a date grabbed from a get text method, in the form of this: 8/20/2018 6:28:59 PM
This is being stored in a variable, dateGrabbed, as a generic value. How would I then take this value and compare it to a date that is 48 hours less than itself? For example
If dateThatIsTwoDaysLess < dateGrabbed… Do something.
Noting that dateThatIsTwoDaysLess is always changing depending on the date grabbed.
Any insight on a helpful activity or method would be awesome! I am good with the logic and can probably get my way around if anyone can offer some guidance. I thank you in advance!