cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion of Milliseconds in to DateFormat(MM/DD/YY) in SAPUI5

Former Member
0 Kudos

Hi Experts,

Iam trying to convert milliseconds(874368000000) into date format(Sep 16 ,1997)  in SAPUI5 and Iam using the milliseconds data from JSON.

Can any one of you help me.

Thanks In advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for everyone for your response..I resolved my issue

ChandraMahajan
Active Contributor
0 Kudos

Hi,


Please mark this Discussion with a Correct Answer and Helpful Answer where appropriate.  See http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why   Even if you discovered the solution without any outside contributions, it helps others to understand what the solution turned out to be.


Regards,

Chandra

ChandraMahajan
Active Contributor
0 Kudos

you could have easily found on SCN or google search. refer

Regards,

Chandra

Former Member
0 Kudos

Thanks for suggesting the above link.It helped me and also I searched on google..Atlast I got some post related to Date Format

http://http://scn.sap.com/thread/3372147  .I tried the with correct answer code ,but I am facing  with the error as response is not defiened in var value1= JSON.stringify(response.X_date); line . Do you have any idea why this error occurs.

Thanks in advance

kai2015
Contributor
0 Kudos

is that helpfull for you?

JS Bin