Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extract day, date from web page
#1
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.
USB Anti-virus? Try USB Drive Defender
[Image: 8bQCusS.jpg]
Reply
#2
Why would you need to do that? Tons of better ways to get a date.
Superman I am here to rescue you.
This is Support Forums not Support PMs.  Do not PM me for support unless it's private and site related.
Reply
#3
(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).
USB Anti-virus? Try USB Drive Defender
[Image: 8bQCusS.jpg]
Reply
#4
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?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [SF Coders] Get Steam Creation Date using Regex milopeach 5 1,623 02-04-2012, 04:17 PM
Last Post: Denny Crane
  [VB.NET][TUT] Crypter/Decrypter :Txt,Images,Songs,web Page,Exel,Word,Adobe reader! ThePrinCe 0 2,455 05-26-2011, 04:11 AM
Last Post: ThePrinCe

Forum Jump:


Users browsing this thread: 1 Guest(s)