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