Support Forums
Extract day, date from web page - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19)
+---- Thread: Extract day, date from web page (/showthread.php?tid=23842)



Extract day, date from web page - euverve - 12-13-2011

I wanted to extract today's date from

Code:
http://www.whatsthedatetoday.com/

and the expected output will be: Wednesday, December 14th, 2011

Anybody could help with sample code.

Help is appreciated.


RE: Extract day, date from web page - Omniscient - 12-14-2011

Why would you need to do that? Tons of better ways to get a date.


RE: Extract day, date from web page - euverve - 12-14-2011

(12-11-2011, 07:55 PM)Hex Wrote: Nice job on making this program man i am downloading it right now! Big Grin

(12-14-2011, 01:02 AM)Omniscient Wrote: Why would you need to do that? Tons of better ways to get a date.

I wanted to get the exact date, there is a particular function in my app to compare the post date and what is the exact date (International).


RE: Extract day, date from web page - AceInfinity - 12-29-2011

Code:
Date.Now

There's the exact date based on system time. Otherwise:

Code:
Date.UtcNow

Then add or subtract however many hours is needed in order to get a specific timezone.

Why get it from the webpage?