04-28-2006 7:51 AM
Dear all.
I need a function that calculates the time from microsecunds in days (Data type MEINS).
Best Regards,
Thanks In advanced.
Nada
04-28-2006 7:54 AM
<b>COPF_DETERMINE_DURATION</b> Calculates difference between date and time
<b>SD_DATETIME_DIFFERENCE</b> Difference in days and time for two dates . .
<b>SWI_DURATION_DETERMINE</b> The time between two events in seconds .
regards
vinod
04-28-2006 7:55 AM
I don't think there is built in function for the same, you will have to build one. Not to the extent of Micro seconds that you are looking for.
Regards,
Ravi
Message was edited by: Ravikumar Allampallam
04-28-2006 8:10 AM
04-28-2006 7:57 AM
Hi Moalla!
Check out this link :
http://www.sapdevelopment.co.uk/tips/date/datehome.htm
Regards
Praneeth
Reward points if helpful !
04-28-2006 8:02 AM
Hi !
You need to translate your microseconds into the Timestamp format.
Then you can use the:
CONVERT TIME STAMP tst TIME ZONE tz INTO DATE d TIME t.
Command.
Regards
Rainer
Some points would be nice of that helped a bit...
04-28-2006 8:06 AM
Thanks a lot for the answers!
actually what I have is 2 time stamps and I need to calculate the diffrence in days (data type MEINS)
Thanks!
04-28-2006 8:21 AM
Hi Again!
In that case you can try this (diff between two time stamps) FM /SDF/CMO_DATETIME_DIFFERENCE
Regards
Praneeth
04-28-2006 8:13 AM
05-02-2006 7:56 AM
Hi Praneeth,
thanks!
in which system can I find the funtion module?
Regards,
Nada