Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Unix time formula

Can someone help me? I need a formula that takes into account Daylight savings time that works on CR Sever. I have 2 formulas. While both work one doesnt work on the server and one doesnt account for datlight savings time.

Here is the one that works on the server but not for daylight savings:

datetimevar tempdt := DateAdd ("s", +{chg.actual_comp_date},Date (1970,1,1) );

dateadd("s",-14400,tempdt);

Here is the one that works all the time except on the sever:

PDMTimeToDateTime ({call_req.open_date})

Former Member
Not what you were looking for? View more on this topic or Ask a question