B bvdijk Member Licensed User Longtime User Dec 20, 2011 #1 What is the easiest way to convert a returned JSON date, like this: Code: Copy /Date(1325052000000)/ into a human readable date? Thanks in advance, Barry
What is the easiest way to convert a returned JSON date, like this: Code: Copy /Date(1325052000000)/ into a human readable date? Thanks in advance, Barry
klaus Expert Licensed User Longtime User Dec 20, 2011 #2 I have no experience with Json, but the value of 1325052000000 are ticks, if date = 1325052000000 , date beeing a Long variable you get the date with DateTime.Date(date) Best regards. Upvote 0
I have no experience with Json, but the value of 1325052000000 are ticks, if date = 1325052000000 , date beeing a Long variable you get the date with DateTime.Date(date) Best regards.
B bvdijk Member Licensed User Longtime User Dec 20, 2011 #3 klaus said: I have no experience with Json, but the value of 1325052000000 are ticks, if date = 1325052000000 , date beeing a Long variable you get the date with DateTime.Date(date) Best regards. Click to expand... Thank you Klaus, you're right, easy enough. I just have to filter the numerical part out of the returned string. Upvote 0
klaus said: I have no experience with Json, but the value of 1325052000000 are ticks, if date = 1325052000000 , date beeing a Long variable you get the date with DateTime.Date(date) Best regards. Click to expand... Thank you Klaus, you're right, easy enough. I just have to filter the numerical part out of the returned string.