Application Development 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: 

How to convert short timestamp to long time stamp.?

Former Member
0 Kudos

Can anybody help on converting a short time stamp into long timestamp?

Regards

Nitin

1 ACCEPTED SOLUTION

Sandeep_Kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

Try this : CONVERT DATE dat [TIME tim [DAYLIGHT SAVING TIME dst]]

INTO TIME STAMP time_stamp TIME ZONE tz.

7 REPLIES 7

Former Member
0 Kudos

hi nitin

check this thread

hope it helps you.

thanks

Sachin

Sandeep_Kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

Try this : CONVERT DATE dat [TIME tim [DAYLIGHT SAVING TIME dst]]

INTO TIME STAMP time_stamp TIME ZONE tz.

former_member222860
Active Contributor
0 Kudos

Hi,

CONVERT: DATE p_date TIME p_time INTO TIMESTAMP l_timestamp TIME ZONE sy-zonlo.

thanks\

Mahesh

Former Member
0 Kudos

Thank you mahesh and sachin for the replay

Regards

Nitin

Former Member
0 Kudos

I want to ask that , will this convert statement will convert the date into long time stamp or short timestamp.

As i want it to be converted to long timestamp only.

Regards

Nitin

Former Member
0 Kudos

Hi

try from this link---

regards

Prashant

Former Member
0 Kudos

Hi,

check the below Funtion Modules,

TZON_CHECK_TIMEZONE

TZON_GET_TIMEZONE_TEXT

TZON_GET_USER_TIMEZONE

TZ_LOCATION_TIMEZONE

Hope it will help you.

Regards,

Anki Reddy.