‎2009 Sep 02 10:38 AM
Hi All,
Is there any possibility to disaplay Local Date & Time in script level.
our current system have time zone setting as German timimgs, but one of our client in china they want to display in all their labels with Local date & Time instead of German timings . They have thier own script but print program is common for all . is there any possiblity to change in script level without modifing the Print program.? pls let me know.....
Thanks & Regards,
sksk.
‎2009 Sep 02 10:40 AM
‎2009 Sep 02 10:47 AM
these system fields will help i hope
you can get with sy- <field name>
these are from SYST structure.
DATLO SYSTDATLO DATS 8 0 Local Date for Current User
TIMLO SYSTTIMLO TIMS 6 0 Local Time of Current User
ZONLO SYSTZONLO CHAR 6 0 Time Zone of Current User
‎2009 Sep 02 10:48 AM
Hii,
You can find the current users local date/time as follows:
SY-DATLO - Local Date for Current User
SY-TIMLO - Local Time of Current User
SY-ZONLO - Time Zone of Current User
structure contains local time -> LTIME
You may try this FM: DB_LOCAL_TIME
regards,
Archana