Created
August 29, 2014 19:28
-
-
Save chengfred/08ca1c8ad81543309421 to your computer and use it in GitHub Desktop.
manually generate cv for Aug.1 2014
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
$ python | |
Python 2.7.8 (default, Jul 2 2014, 10:14:46) | |
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from bson.objectid import ObjectId | |
>>> import datetime | |
>>> ObjectId.from_datetime(datetime.datetime(2014, 8, 1)) | |
ObjectId('53dad8800000000000000000') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment