Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Convert timestamp to date

former_member463678
Participant
58,563

Hello experts,

I have a time stamp field in a table that shows the number of seconds since 1.1.1990,0:00 GMT * 10000 to a certain date. I have to convert it to date.

Here's an example of time stamp I'm trying to convert into date.

7,464,851,370,000  (This shows the number of seconds that elapsed since 1.1.1990)

Any suggestions would be appreciated.

Thanks in advance,

Zak.

Hello experts,

I have a time stamp field in a table that shows the number of seconds since 1.1.1990,0:00 GMT * 10000 to a certain date. I have to convert it to date.

Here's an example of time stamp I'm trying to convert into date.

7,464,851,370,000  (This shows the number of seconds that elapsed since 1.1.1990)

Any suggestions would be appreciated.

Thanks in advance,

Zak.

6 REPLIES 6
Read only

rajesh_akarte2
Active Participant
0 Likes
9,197

Hi,

Refer the post http://scn.sap.com/thread/1247966

Regards,

Rajesh Akarte

Read only

FredericGirod
Active Contributor
0 Likes
9,197

Hi,

it's not a timestamp

timestamp (in abap world) it's  the concatenate : DATE TIME

regards

Fred

Read only

Former Member
Read only

Former Member
0 Likes
9,197

Hi,

Check the link

http://scn.sap.com/thread/1247966

Try out the function modules mentioned. Hope it helps.

Regards,

Eldho Jacob

Read only

former_member463678
Participant
0 Likes
9,197

Thanks all for your help.

I used function module 'RKE_TIMESTAMP_CONVERT_OUTPUT'.

I got it from Chandr's thread http://scn.sap.com/thread/3190890 and also from,

Matthew Billingham @ http://scn.sap.com/thread/715979

Regards,

Zak.

Read only

0 Likes
9,197

Mark the ans as correct and helpful.. and closed it.