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 of system

Former Member
0 Kudos

Hi,

is there in sap sth like in java coment: System.currentTimeMilisecond();

regards

Joanna

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Use sy-uzeit.

6 REPLIES 6

Former Member
0 Kudos

Hi

Use sy-uzeit.

Former Member
0 Kudos

Hi Joanna,

are u looking for sy-uzeit ??

Regards

Allan Cristian

Former Member
0 Kudos

there is a structure in SAP called SYST.

that contain all SAP system comands,

like this..

SY-UZEIT SYSTEM TIME,

SY-DATUM SYSTEM DATE IE CURRENT DATE.

SY-UNAME ID OF THE PERSON LOGGED ON

SY-PAGNO PAGE NO " IN SMARTFORMS SAPSCRIPT.

SY-UCOMM USER COMMAND,

......

REWARD IF USEFUL.

Former Member
0 Kudos

HI

the current time will be stored in <b>SY-UZEIT</b>

it is a system variable

it stores the current time on the system

reward if useful

Former Member
0 Kudos

HI,

SY-TIMLO --> Local time for user

SY-TIMUT --> Global time related to UTC (GMT)

SY-TSTLO --> Timestamp (date and time) for user

Sy-TSTUT --> Timestamp (date and time) related to UTC (GMT)

SY-TZONE --> Time difference from 'Greenwich Mean Time' (UTC) in seconds

SY-UZEIT --> System: Time

SY-ZONLO --> Time zone of user

If you need to convert date and time into a local time zone, the function TZ_SYSTEM_TO_LOCAL should be used

Regards

Sudheer

Former Member
0 Kudos

Hi,

SY-DATUM :Date and Time, Current (Application Server) Date

SY-UZEIT : Date and Time, Current Application Server Time

regards,

Vinod Samuel.