2558:
2559: --
2560: -- I need to get the user_id for the INVITEE
2561: --
2562: l_user_id := JTF_CAL_UTILITY_PVT.GetUserID(r_Task.INVITEE);
2563: l_DestTimezoneID := NVL(FND_PROFILE.Value_Specific( name => 'CLIENT_TIMEZONE_ID'
2564: , user_id => l_user_id
2565: )
2566: ,4 -- If not set on any level, default to PST
2568:
2569: --
2570: -- Adjust startdate from Task/Server timezone to recipient client timezone
2571: --
2572: JTF_CAL_UTILITY_PVT.AdjustForTimezone
2573: ( p_source_tz_id => r_Task.SourceTimezoneID
2574: , p_dest_tz_id => l_DestTimezoneID
2575: , p_source_day_time => r_Task.START_DATE
2576: , x_dest_day_time => l_StartDateCorrected
2578:
2579: --
2580: -- Adjust enddate from Task/Server timezone to recipient client timezone
2581: --
2582: JTF_CAL_UTILITY_PVT.AdjustForTimezone
2583: ( p_source_tz_id => r_Task.SourceTimezoneID
2584: , p_dest_tz_id => l_DestTimezoneID
2585: , p_source_day_time => r_Task.END_DATE
2586: , x_dest_day_time => l_EndDateCorrected