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: 

time convertion from one location to other location

Former Member
0 Kudos
102

hello gurus.

I am having a small requirment. My server will be in us location and i will be working from india.

while saving data in to some z table i am saving based on my local time(SY-DATLO...).

When sap save the data in standarded tablesit will store on server time.

is there any function module to conver the time of india to time of us at that perticular time.

Thanks,

Feroz.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
70

Hello

Try with this FM

IB_CONVERT_FROM_TIMESTAMP

IB_CONVERT_INTO_TIMESTAMP

ISU_DATE_TIME_CONVERT_TIMEZONE

Edited by: Marcin Szlenk on Mar 20, 2008 12:15 PM

3 REPLIES 3

Former Member
0 Kudos
70

Hi Feroz,

I dont think that we have fn module for time conversions. But by default system will store date and time of server at the time of saving a record in to database. If you want Indian time, then you have to handle it in program since its fixed time gap.

Hope it helps you.

Regards,

CS.

Former Member
0 Kudos
70

hi,

use SY-UZEIT which will give you application server time.

Former Member
0 Kudos
71

Hello

Try with this FM

IB_CONVERT_FROM_TIMESTAMP

IB_CONVERT_INTO_TIMESTAMP

ISU_DATE_TIME_CONVERT_TIMEZONE

Edited by: Marcin Szlenk on Mar 20, 2008 12:15 PM