Convert Client Time zone date to Server Time Zone Date
Select TO_CHAR (FND_TIMEZONES_PVT.ADJUST_DATETIME
(LAST_ACCPET_DATE, FND_TIMEZONES.GET_SERVER_TIMEZONE_CODE,
FND_TIMEZONES.GET_CLIENT_TIMEZONE_CODE),
'DD-MON-YYYY HH24:MI:SS')
from PO_LINE_LOCATIONS_ALL where line_location_id =xxxxxxxx;
Select TO_CHAR (FND_TIMEZONES_PVT.ADJUST_DATETIME
(LAST_ACCPET_DATE, FND_TIMEZONES.GET_SERVER_TIMEZONE_CODE,
FND_TIMEZONES.GET_CLIENT_TIMEZONE_CODE),
'DD-MON-YYYY HH24:MI:SS')
from PO_LINE_LOCATIONS_ALL where line_location_id =xxxxxxxx;