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: 

sort internal with respect to timestamp field

suman_kurdekar
Explorer
0 Kudos

I am sorting internal table descending with respect to timestamp field(considering both date and time) ..


I need o/p:

20160211103942
20160211105444
20163110103610

but i am getting
20163110103610

20160211103942
20160211105444

1 ACCEPTED SOLUTION

raghug
Active Contributor
0 Kudos

20163110103610 is not a valid timestamp in the first place. The format within the time stamp should be YYYYMMDDHHmmss, you have the months and days inverted YYYYDDMMHHmmss

2 REPLIES 2

raghug
Active Contributor
0 Kudos

20163110103610 is not a valid timestamp in the first place. The format within the time stamp should be YYYYMMDDHHmmss, you have the months and days inverted YYYYDDMMHHmmss

0 Kudos

Hi Raghu ,

Ya i got my mistake ... i inverted YYYYDDMMHHmmss .. it must be YYYYMMDDHHmmss . Thank you .

Regards ,

Suman