weblog d’un abbe


X-Google-Chat-* email headers

Filed under: Research — abbe @ 2035

While going through the source of an email reply (sent via Gmail web interface) to a chat message received from (xxxxxxxxxxxxxxxx@gmail.com, obviously xmpp id changed) while I’m offline, found some interesting email headers:

X-Google-Chat-Start: 1181389943000
X-Google-Chat-End: 1181389943000
X-Google-Chat-With: xxxxxxxxxxxxxxxx@gmail.com

Here is some python stuff:

[wahjava@chatteau ~]$ python
Python 2.5 (r25:51908, Apr 10 2007, 10:27:40)
[GCC 4.1.2 20070403 (Red Hat 4.1.2-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> print time.ctime(1181389943000/1000)
Sat Jun  9 17:22:23 2007


  1. It`s a unix timestamp

    Comment by gaurav — 20070719 @ 1416

  2. Unix time is the no. of seconds elapsed since Epoch (January 1, 1970 00:00:00), and Google headers store milliseconds elapsed since Epoch.

    Comment by आशीष शुक्ल — 20070719 @ 2018

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: