Hi everyone,Can you please help me?
I want a C# code for taking time and date from a site and import this time in my program,can you pls help me.
Sokh 0 Newbie Poster
Recommended Answers
Jump to PostAs momerath says, this is rather dependent on the page. But if the date and time are in a arbitrary location on the page, you will need to load in the DOM and try and hope that the date/time has an id tag so that you can find it.
Jump to PostYour program can only rely on the computer time you are using (to the time your computer is set to).
If you really want to get tan actual curent time (your local or some else time), you will have to connect to an internet and get the time from server.
…
All 6 Replies
Momerath 1,327 Nearly a Senior Poster Featured Poster
Ketsuekiame 860 Master Poster Featured Poster
Sokh 0 Newbie Poster
Ketsuekiame 860 Master Poster Featured Poster
Mitja Bonca 557 Nearly a Posting Maven
Sokh 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.