I have been trying to set up a report where, if you update the time for a record it updates the time but not the date associated with it. I am able to get the time to update properly, but I don't see any way to get around the date updating the Actual_Time, Total_Time, and Lunch_Time due to the zoho.currentdate variable.
Any help would be greatly appreciated.
date timesheet.strToTime(map timeMap)
{
hrs = (input.timeMap.get("hrs")).toLong();
mins = (input.timeMap.get(("mins"))).toLong();
timeValue = zoho.currentdate.addHour(hrs).addMinutes(mins);
return timeValue;
}