Created
March 14, 2009 03:03
-
-
Save joshuamiller/78903 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22:09 ~ $ erl | |
Erlang (BEAM) emulator version 5.6.4 [source] [smp:2] [async-threads:0] [kernel-poll:false] | |
Eshell V5.6.4 (abort with ^G) | |
1> httpd_util:rfc1123_date(calendar:universal_time()). | |
"Sat, 14 Mar 2009 07:02:55 GMT" | |
2> httpd_util:rfc1123_date(erlang:localtime()). | |
"Sat, 14 Mar 2009 03:03:03 GMT" | |
3> calendar:universal_time(). | |
{{2009,3,14},{3,4,37}} | |
4> erlang:localtime(). | |
{{2009,3,13},{23,4,49}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment