The Python time module can be used to provide the current date and time.
For a human-readable date and time, you can use the following script, which generates
the current date and stores it in a string field:
import time
value = time.strftime("%Y%m%d%H%M%S")
Visit the Python website for more
information on the format arguments for the strftime function.
Be very careful with your format argument. If you put in
an invalid string, the results can be unpredictable.