Indrani,
I have to say, the console application you want to make is pretty
difficult, since you have to somehow access the user's computer's time
settings.
If you were to distrubute your application for other people to run, I
don't think that they would like it if you changed their computer's
time, so perhaps your 'goal' might be possibly impossible.
However, I figured out how to represent a time; use the DateTime class.
There are 12 constructors for it, so you can be really precise. Here's
an example:
DateTime dt = new DateTime(2005, 8, 9);
Of course, their are quite are number of methods to this class, which
include adding, subtracting, toString, etc.
Hope this helps,
Seen Sharp