Google Community
Latest Forums Rules Resources
Custom Search

Go Back   Google Community > Google Forums > Gmail Forum

GoogleCommunity Sponsor
Cirtex Hosting
Use coupon "forum" for 50% Off!

Reply
 
LinkBack Thread Tools Display Modes
Old 03-29-2008, 12:10 PM   #1 (permalink)
Noogle
 
Join Date: Mar 2008
Posts: 0
Thanks: 0
Thanked 0 Times in 0 Posts
devnull is on a distinguished road
Exclamation How is it possible to get a mail with a date from 1905??

Hi,

A friend has sent me an email in which he has managed to trick the date.
As in:
From: myfriend <friend@friendsisp.com>
Date: Jan 11, 1905 2:15 AM
Subject: How did I do it?
To: Me <me@gmail.com>


In the Gmail Inbox folder, the date shows correctly, with the current day in March 2008.

As you know, you cannot get any more headers than the ones that gmail briefly presents you when you hit "Show Advanced".

If I understand it correctly, my friend's email SMTP server should be the one tagging his email with the actual date.

Also, according to
Unix time - Wikipedia, the free encyclopedia
you cannot set the date on your computer before January 1, 1970 on ANY computer. For Windows XP is even worse, this date is January 1, 1980.

Hence, does anybody know how could have he done this?
devnull is offline   Reply With Quote
 
Sponsored Links
Old 03-31-2008, 03:51 AM   #2 (permalink)
Elite Googler
 
leftybogs's Avatar
 
Join Date: Feb 2007
Posts: 1,153
Thanks: 0
Thanked 26 Times in 24 Posts
leftybogs is on a distinguished road
hmm.. I didn't know that too... interesting..
leftybogs is offline   Reply With Quote
Old 03-31-2008, 11:19 AM   #3 (permalink)
Google Guru
 
andrew247's Avatar
 
Join Date: Oct 2005
Location: c:\GoogleCommunity
Posts: 3,386
Thanks: 3
Thanked 13 Times in 13 Posts
andrew247 is a glorious beacon of lightandrew247 is a glorious beacon of lightandrew247 is a glorious beacon of lightandrew247 is a glorious beacon of lightandrew247 is a glorious beacon of light
Unix time is a 32 bit signed integer (signed meaning that the first "bit" of the number is used to represent whether the number is positive or negative).
So, if you change the first bit of the unix timestamp to be a 1, it will be interpreted by most computers as a negative number, and so you get the date as "1st January 1972 minus the number of seconds" (i.e. it will be before 1970).
Google obviously ignores the signed bit and just interprets the rest of the number.
andrew247 is offline   Reply With Quote
Old 03-31-2008, 08:01 PM   #4 (permalink)
Elite Googler
 
[ugly_cat]'s Avatar
 
Join Date: Mar 2006
Location: MM
Posts: 1,852
Thanks: 58
Thanked 57 Times in 54 Posts
[ugly_cat] is an unknown quantity at this point
Send a message via Yahoo to [ugly_cat]
if.,surely received it.,so interesting error.
[ugly_cat] is offline   Reply With Quote
Old 04-10-2008, 04:57 AM   #5 (permalink)
Master Googler
 
Cryxellis's Avatar
 
Join Date: Jun 2007
Location: Beyond the Darkness
Posts: 587
Thanks: 0
Thanked 2 Times in 2 Posts
Cryxellis is on a distinguished road
Quote:
Originally Posted by andrew247 View Post
Unix time is a 32 bit signed integer (signed meaning that the first "bit" of the number is used to represent whether the number is positive or negative).
So, if you change the first bit of the unix timestamp to be a 1, it will be interpreted by most computers as a negative number, and so you get the date as "1st January 1972 minus the number of seconds" (i.e. it will be before 1970).
Google obviously ignores the signed bit and just interprets the rest of the number.
Really interesting and I find it really cool ^_^
Cryxellis is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date in vb.net Thirukumar Google Pack & Software 1 12-14-2007 08:26 AM
What is the date? Mayur Chit Chat 11 10-23-2007 11:09 PM
Date/Age of data cableghost Google Earth & Google Maps 6 10-18-2005 07:56 AM
first date handsomeshrey Chit Chat 2 03-21-2005 10:06 AM
IPO Date and Value? intelliot Business, Investing, Finance and Money 3 07-08-2004 03:36 AM


All times are GMT -8. The time now is 08:39 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004–2007 Google Community