‎2007 Apr 30 8:30 PM
Hi,
I have a date and time stamp in one filed for example as below:
20070125183045
(the first 8 are date in YYYYMMDD format, the next 6 is time in HHMMSS format). Now I want to compare this value to another such value in terms of date and time. First I want to compare dates and then times. Do you know any function module that can serve this purpose?
Thanks very much!
‎2007 Apr 30 8:36 PM
CCU_TIMESTAMP_DIFFERENCE
here you can use it as timestamp itself. no need to split to time and date.
‎2007 Apr 30 8:33 PM
‎2007 Apr 30 8:34 PM
‎2007 Apr 30 8:34 PM
Hi Krishen,
Please check this FM.
SD_DATETIME_DIFFERENCE
SD_CALC_DURATION_FROM_DATETIME
Regards,
Ferry Lianto
‎2007 Apr 30 8:36 PM
CCU_TIMESTAMP_DIFFERENCE
here you can use it as timestamp itself. no need to split to time and date.