I have the below requirement for the date and time calculation.
I will be getting the time from the table with minutes and need to subtract from the current time and need to convert this into the date and time.
suppose current date is 23rd march 2015 , current time 5.00 pm if input from table is 1440(60*24) minutes i have to get the previous date 22 march 2015 .
Please let me know if we have any function to handle this case.
Thanks in Advances.