Hi friends,
I would like some ideas of how can i do that.
I have a .NET windows application. This application,
has a logon window.
When I logon, the application go to DB2 database
and get the db2 timestamp.
I set this timestamp into a variable of .NET which I use
it for different things.
But my question is...
How can I do to have the hour of the database db2 in this
variable without going again into the db2. I mean, how can I know the real time of the db2?
I was thinking having a time counter or something like that,
but I am not sure how can I do it.
Another thing that i can't do, is to take windows time because it can be changed.
Any ideas?
Thanks.
I would like some ideas of how can i do that.
I have a .NET windows application. This application,
has a logon window.
When I logon, the application go to DB2 database
and get the db2 timestamp.
I set this timestamp into a variable of .NET which I use
it for different things.
But my question is...
How can I do to have the hour of the database db2 in this
variable without going again into the db2. I mean, how can I know the real time of the db2?
I was thinking having a time counter or something like that,
but I am not sure how can I do it.
Another thing that i can't do, is to take windows time because it can be changed.
Any ideas?
Thanks.