I m using RIDC API to retrieve the metadata info from ucm on a java class.
The date i specify during checkin and the date which i get from RIDC API(dInDate) is getting mismatched by apporximately 6 hours. Kindly help me out.
Also, may i know the date which is showing on UCM is either system date or weblogic server date on which ucm instance is found or DB server(which contatins CSDS schema) date?
I guess you are passing date as String in binder if so specify UserTimeZone (Check your content server date/time format using system properties applet)
dataBinder.putLocal ("dInDate","2008-04-07 13:20:00");
Note: It accepts 24 hour time so below 13:20 is 1:20 PM.
Or you could do below
dataBinder.getLocalData ().setDate ("dInDate", new Date("05/04/2010 04:09:45 PM"));
Hope this will help.
Thanks, but still i dont want to set the date(dInDate), my problem is while fetching the dInDate metadata from RIDC.
The date on UCM and date which is getting fetched from RIDC API is getting mismatched.