January Tidbits

SMS Questions Answered

You've got SMS questions; We've got Answers!

question

kailashvasan vk avatar image
kailashvasan vk asked kailashvasan vk commented

Embedded app - Call startTime format is as "1591774064578". when we access this from the Windows.Phone.CallLogs.Calls object. Please help on the format

Embedded app - Call startTime format is as "1591774064578". when we access this from the Windows.Phone.CallLogs.Calls object. Please help on the format

embedded widget
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

·
Phong Vu avatar image
Phong Vu answered kailashvasan vk commented

It is the timestamp rather than the time. If other time fields in that call log is the time, then it is a mistake that the app does not convert the timestamp to the time. If all the time fields are the same or that is the only time field, then it might be logged as a timestamp (based on UTC time) on purpose to make it easy to convert to a local time. You can convert the timestamp to a time e.g. in Javascript as follow:

var startTime = new Date(callStartTime).toISOString()


1 comment
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

kailashvasan vk avatar image kailashvasan vk commented ·

Thank you. It worked!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.