Click here to Skip to main content
13,407,331 members (53,566 online)
Rate this:
Please Sign up or sign in to vote.
<?xml version="1.0" encoding="UTF-8"?>
-<calls count="31" date="1360309147911"> <call date="1359279658478" photoid="0" name="nish" duration="29" new="1" numbertype="2" modified="1" type="2" number="7998609" iccid="8923001070620096930" modified_time="1360181147995"/>

How to decrypt the dates and time in ?
Posted 21-Feb-13 9:37am
Sergey Alexandrovich Kryukov 21-Feb-13 14:41pm
How can we know what is it?
virajdaw 22-Feb-13 0:34am
Really i didn't know as well, but the person who replied this question told the date is in the form on unix format.Well it is true..
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

All the times are the same order of magnitude and relatively close to each other, so they aren't actually encrypted.

Most likely they are just the total number of some units of time since some origin date.

It's either seconds, or milliseconds, since some date.

1359279658478 millisecond = aprox 43.07 years (approximating a year at 365.25 days).

1 Jan 1970 + 43.07 years = sometime in Jan 2013.

Most likely it's just standard unix time (a system of recording time as milliseconds since 1 Jan 1970):[^]

Given that there is no notation for the time zone, you have to assume UCT.

NOTE: Deriving the exact date requires getting leap year calculations correct and accounting for time zond and daylight savings time differences. Any modern operating system has a function that handles that for you.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

This site UNIX timestamp to System.DateTime[^] help me to decipher the dates which were in UNIX format.

On the above site, it uses seconds, for call date="1359279658478" please use milliseconds,It'll work.

Foe example replace dateTime = dateTime.AddSeconds(timestamp);
with dateTime = dateTime.AddMilliseconds(timestamp)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.180221.1 | Last Updated 22 Feb 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100