SELECT TO_CHAR
(hz_timezone_pub.convert_datetime
(fnd_profile.VALUE ('SERVER_TIMEZONE_ID'),
NVL (fnd_profile.value_specific ('CLIENT_TIMEZONE_ID',3842
-- fnd_global.user_id
),
fnd_profile.VALUE ('SERVER_TIMEZONE_ID')
),
TO_DATE ( TO_CHAR (:p_date,
'DD/MON/YYYY'
)
|| ' '
|| TO_CHAR ((SYSDATE), 'HH24:MI:SS'),
'DD-MM-YYYY HH24:MI:SS'
)
),
'DD-MON-YYYY HH24:MI:SS'
) expiry_date
FROM DUAL
No comments:
Post a Comment