By Unix timestampI assume that you mean the number of seconds (or something else) from 1970-01-01 00:00:00 UTC.
DB2 has no built-in functions (with V6R1).
You are also not against the following problems:
- All timestamps in DB2 are “local time” - they do not contain time zone information, and all entries
CURRENT_TIMESTAMPare based on when the requesting system thinks it is not a host. - . .
TIMESTAMPDIFF , . , /, , .- ( , 30 ).
DAYS ( 0001-01-01). , UTC, DST.