MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / strptime

Method strptime

test/test_examples.py:1247–1248  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

1245
1246 # Start Versioned API Example 5
1247 def strptime(s):
1248 return datetime.datetime.strptime(s, "%Y-%m-%dT%H:%M:%SZ")
1249
1250 client.db.sales.insert_many(
1251 [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected