Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 480 Bytes

timestamp.md

File metadata and controls

25 lines (17 loc) · 480 Bytes

Timestamp

This documentation provides details about the data that can be faked for a timestamp.

To retrieve generated/fake data for a timestamp see the following capabilities:

from socfaker import SocFaker

sc = SocFaker()

print(sc.timestamp.in_the_past())
print(sc.timestamp.in_the_future())
print(sc.timestamp.current)
print(sc.timestamp.date_string())

Timestamp Class

.. automodule:: socfaker.timestamp
   :members:
   :undoc-members: