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: 

date and time fields

Former Member
0 Kudos
68

hi all

how the date and time fields values are syored in sap

2 REPLIES 2

matt
Active Contributor
0 Kudos
51

yyyymmdd and hhmmss respectively.

matt

Former Member
0 Kudos
51

Hi Rohit,

Date occupies 8 characters and

Internal format of the date is yyyy:mm:dd

External format is dd:mm:yyyy.

Ex.

data nu type d value '20071230'.

write : nu.

Time occupies 6 characters here internal and external format both are sam HH:MM:SS.

Ex: data time type t value '101530'.

write : time.

Thanks and Regards,

Surya