Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Display UTC-Timestamp in timezone of user/server

$
0
0

Hello,

 

the view of my WD Component displays UTC-Timestamps in a table (Cell Editor LinkToAction).

The user has the possibility to alter the timestamps by providing date and time.

The controller converts date and time to a UTC-timestamp by using ABAP-Statement CONVERT with timezone of server (sy-zonlo).

 

The timezone is CET (UTC1). Therefore the fields to enter the time is displayed in UTC1 but the  timestamp is displayed as UTC. The user might be confused, because when entering a time in the inputfield, the timestamp will be displayed 1 hour in the past.

 

The domain of the timestamp is TZNTSTMPS. I also tried to convert the timestamp into a field with domain TZNTSTMPSL, but with the same effect.

 

Is there a possibility to display the timestamp in the timezone of the server (sy-zonlo) or in the timezone of the user?

 

Thanks in advance

Patrick


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>