<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cjpetrie</id>
		<title>explain xkcd - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cjpetrie"/>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php/Special:Contributions/Cjpetrie"/>
		<updated>2026-04-13T18:55:57Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=1467:_Email&amp;diff=81795</id>
		<title>1467: Email</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=1467:_Email&amp;diff=81795"/>
				<updated>2014-12-31T13:46:47Z</updated>
		
		<summary type="html">&lt;p&gt;Cjpetrie: /* Explanation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{comic&lt;br /&gt;
| number    = 1467&lt;br /&gt;
| date      = December 31, 2014&lt;br /&gt;
| title     = Email&lt;br /&gt;
| image     = email.png&lt;br /&gt;
| titletext = My New Year's resolution for 2014-54-12/30/14 Dec:12:1420001642 is to learn these stupid time formatting strings.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Explanation==&lt;br /&gt;
[[Beret Guy]] doesn't seem to know what an email is, even though the term has existed since before 1982 when SMTP was established and has been in use by the general public since 1998 when free email providers appeared and he even apparently personally maintains a web-page upon which he placed his(/an) email address. [[Megan]] is visibly appalled and wonders how else he expects electronic messages to be sent. She says that you have to check your e-mail as it is not like {{w|voicemail}} - thus saying that it is OK not to check voicemail.&lt;br /&gt;
&lt;br /&gt;
Beret guy offers two alternatives: fax and {{w|Snapchat}}. When Megan tries to point out that Snapchat is mostly used to send naked pictures, Beret guy takes her to mean that fax is mostly used to send naked pictures. He terms this use of faxes faxting, a made-up word by analogy with {{w|sexting}}.&lt;br /&gt;
&lt;br /&gt;
The title text shows what is possibly [[Randall|Randall's]] new years resolution: to learn how to use time formatting functions. When programming, it is often useful to obtain the current time by means of a time function. However, these time functions often provide more detail than what the programmer needs, such as time zone and milliseconds. Time formatting functions allow the output of the time function to be converted into what the programmer needs. &lt;br /&gt;
&lt;br /&gt;
Randall appears to have used a time function to get the current date, probably with the formatting string &amp;quot;%Y-%M-%D %h:%m:%s&amp;quot;, which looks like it should give year-month-day hour:minute:second, but when parsed by standard {{w|Unix}} routines gets interpreted as follows:&lt;br /&gt;
&lt;br /&gt;
 %Y is 4-digit year&lt;br /&gt;
 %M is minute&lt;br /&gt;
 %D is the same as %m/%d/%y, i.e. month/day/(2-digit)year&lt;br /&gt;
 %h is the abbreviated month name&lt;br /&gt;
 %m is 2-digit month&lt;br /&gt;
 %s is the Unix timestamp&lt;br /&gt;
&lt;br /&gt;
The {{w|Unix time|Unix timestamp}} 1420001642 that comes from the %s can be seen at the end of the date in the title text. This corresponds to the date 2014-12-31 at 04:54:02 UTC. This will hence give the full time string 2014-54-12/31/14 Dec:12:1420001642 from the above string.&lt;br /&gt;
&lt;br /&gt;
The correct formatting string for year-month-day hour:minute:second would be %Y-%m-%d %H:%M:%S which would have given the wanted output: 2014-12-31 04:54:02.&lt;br /&gt;
&lt;br /&gt;
The trouble with using the correct date format has been mentioned in [[1179: ISO 8601]] and the correct date format was used in [[1340: Unique Date]].&lt;br /&gt;
&lt;br /&gt;
==Transcript==&lt;br /&gt;
:[Megan approaches Beret Guy.]&lt;br /&gt;
:Megan: Any New Year's resolutions?&lt;br /&gt;
:Beret Guy: Gonna figure out what email is.&lt;br /&gt;
:Megan: ''...Email?''&lt;br /&gt;
&lt;br /&gt;
:[Megan points to her phone.]&lt;br /&gt;
:Beret Guy: People always say they're sending them. They sound really into it, so I always nod, but I have no idea what it is.&lt;br /&gt;
:Megan: You have an address on your website!&lt;br /&gt;
&lt;br /&gt;
:[Megan and Beret Guy walking.]&lt;br /&gt;
:Beret Guy: Oh, ''that's'' what that thing is.&lt;br /&gt;
:Megan: Email is important! You can't just ''never'' check it. It's not like voicemail.&lt;br /&gt;
&lt;br /&gt;
:Beret Guy: Can't they just send messages ''normally?''&lt;br /&gt;
:Megan: How?&lt;br /&gt;
:Beret Guy: Fax! Or Snapchat.&lt;br /&gt;
:Megan: ...The naked pic thing?&lt;br /&gt;
:Beret Guy: Fax machines aren't ''just'' for faxting!&lt;br /&gt;
{{comic discussion}}&lt;br /&gt;
[[Category:Comics featuring Beret Guy]]&lt;br /&gt;
[[Category:Comics featuring Megan]]&lt;/div&gt;</summary>
		<author><name>Cjpetrie</name></author>	</entry>

	</feed>