Find Timezone on client and set the date time stamp for db parameter
807603Dec 24 2007 — edited Dec 26 2007I 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