Click here to Skip to main content
15,903,030 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
My question is while installing the Operating system, it will detect the date automatically. How is it possible. Does any code is available for that then plz post here.

I need to get the date which is independent of the system date and also independent of the internet. But it must be dependent on the region. It means if i change the system date and run the program then i must get the exact date but not the system date. If any code is there for that plz post here.
Posted
Comments
Sergey Alexandrovich Kryukov 5-Aug-11 3:16am    
Installing OS? Now that's funny. Saying the truth?
--SA
Sergey Alexandrovich Kryukov 5-Aug-11 3:17am    
Stop re-posting!
--SA

You're not installing an operating system in C#, surely. C# is not present during install, I don't know when it's installed as part of the install process.

What you're saying is nonsensical. It's drivel, and it makes no sense. What does install have to do with it ? How can you detect a date that is not the system date, except you get it from the web, or perhaps from a network. I think you have no idea at all how computers work, or you'd understand how illogical and impossible your request is.

I see you've been asking variations on this idiotic question for days. Stop it. Wake up - read the answers and understand that they are all correct.
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 5-Aug-11 3:22am    
Harsh but true (my 5). It's a mystery to me where such things come from. I use a different term for this (please see my answer :-).
--SA
I know what is this. There is "a generic term in English for talking that sounds like speech, but carries no actual meaning": http://en.wikipedia.org/wiki/Gibberish[^].

—SA
 
Share this answer
 
You have three choices:
1. the system date
2. from an internet time server
3. Get the user to type it in.

How exactly do you expect to get it without using one of these facilities?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900