Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Find Timezone on client and set the date time stamp for db parameter

807603Dec 24 2007 — edited Dec 26 2007
I wana check the default timezone set on the Client machine and get the date time stamp and pass it to a database column,
I am using the GregorianCalendar (Timezone.getDefault()), for the default time zone and Calendar class obj for the Hours,min and Sec. data.
but I am not able to put this all together and place it as Cstmt.getDate(3,<parameter>) for the database call.
I want to consolidate the client logged in machine time stamp based on the timezone set on that Remote Machine.

Can any one suggest some thing.!
I am working out this solution for a web based app. tool!

Thanks
Vik
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 23 2008
Added on Dec 24 2007
5 comments
586 views