I am getting the Last Modified Stamp on images online using Idhttp1.Head command.
This is returning:
Wed, 29 Aug 2007 11:49:57 GMT
Then I have today's datetime in the same format:
Code: s:=FormatDateTime('ddd, d mmm yyyy hh:mm:ss "GMT"', now);
Wed, 28 Nov 2007 12:01:02 GMT
Up to there all ok!
What I need to know is if the image was modified Today or now.
So, if the image LastModified Stamp is older than today do something....
If the image LastModified Stamp was modified today then do something else...
I don't know if this is right but as I don't want to compare the time etc...Just the dates I have Trimed
the data so it just leaves to date.
This leave me with: Wed, 28 Nov 2007
How do I compare the date so I know if the image was modified today or not???
Hope you can help