summaryrefslogtreecommitdiffstats
path: root/software/python.page
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2022-11-13 20:50:19 -0800
committerBryan Newbold <bnewbold@archive.org>2022-11-13 20:54:06 -0800
commit5f4814a6da0919b935849ac3fff56c38b44698e4 (patch)
tree61665ca994a177771c848d2bd82a17b31a920be2 /software/python.page
parent0f2329bb8dd4fca49422bf8595fe753eb9cb5c2b (diff)
downloadknowledge-5f4814a6da0919b935849ac3fff56c38b44698e4.tar.gz
knowledge-5f4814a6da0919b935849ac3fff56c38b44698e4.zip
bunch of software updates
Diffstat (limited to 'software/python.page')
-rw-r--r--software/python.page9
1 files changed, 9 insertions, 0 deletions
diff --git a/software/python.page b/software/python.page
index 0fc3c8d..7133013 100644
--- a/software/python.page
+++ b/software/python.page
@@ -226,3 +226,12 @@ and
# ... do some stuff ...
tr.print_diff()
+
+
+Canonical Timestamp
+--------------------
+
+As a terse one-liner (with `datetime` imported):
+
+ f"{datetime.datetime.utcnow().isoformat()[:-3]}Z"
+